forked from DeepLearnPhysics/Supera
-
Notifications
You must be signed in to change notification settings - Fork 1
/
MCParticleHelper.h
42 lines (32 loc) · 956 Bytes
/
MCParticleHelper.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#ifndef __SUPERA_MCPARTICLEHELPER_H__
#define __SUPERA_MCPARTICLEHELPER_H__
//#ifndef __CINT__
//#ifndef __CLING__
#include <vector>
// LArSoft
//#include "MCBase/MCTrack.h"
//#include "MCBase/MCShower.h"
//#include "Simulation/SimChannel.h"
//#include "SimulationBase/MCParticle.h"
// LArCV
#include "larcv/core/Base/larcv_base.h"
#include "larcv/core/DataFormat/Particle.h"
#include "larcv/core/DataFormat/Voxel3DMeta.h"
#include "FMWKInterface.h"
namespace supera {
class MCParticleHelper : public ::larcv::larcv_base {
public:
MCParticleHelper() : larcv::larcv_base("MCParticleHelper")
{}
virtual ~MCParticleHelper() {}
void configure(const supera::Config_t& cfg);
::larcv::Particle MakeParticle( const supera::LArMCTrack_t& mct,
const larcv::Voxel3DMeta& meta) const;
::larcv::Particle MakeParticle( const supera::LArMCShower_t& mcs) const;
private:
bool _apply_sce;
};
}
#endif
//#endif
//#endif