11 #include <framework/core/Module.h>
17 #include <ecl/dataobjects/ECLShower.h>
18 #include <mdst/dataobjects/MCParticle.h>
21 #include <framework/dataobjects/EventMetaData.h>
22 #include <framework/datastore/StoreObjPtr.h>
23 #include <framework/datastore/StoreArray.h>
55 virtual void event()
override;
58 virtual void endRun()
override;
75 {
return "ECLShowers" ; }
The ECL Charged PID Data Analysis Module.
std::string m_rootFileName
name of the root file
std::vector< int > * n1_trkPdg
Track PDG code.
std::vector< double > * n1_trkPhi
Track azimuthal direction.
StoreArray< ECLShower > m_eclShowers
Store array: ECLShower.
bool m_writeToRoot
if true, a rootFile named by m_rootFileName will be filled with info
int n1_iExperiment
Experiment number.
std::vector< double > * n2_eclShowerAbsZernike40
Shower Zernike40 Moment.
virtual void initialize() override
Initializes the Module.
int n2_iEvent
Event number.
int n1_eclShowerMultip
Number of ECLShowers per event.
virtual void event() override
Called once for each event.
std::vector< int > * n2_mcMothPdg
MCParticle mother particle PDG code.
std::vector< int > * n2_trkCharge
Track charge.
std::vector< double > * n2_mcP
MCParticle momentum.
std::vector< double > * n2_eclShowerEnergy
Shower Energy.
TTree * n2_tree
Root tree and file for saving the output.
virtual const char * eclShowerArrayName() const
Default name ECLShower.
virtual void endRun() override
Called once when a run ends.
std::vector< int > * n1_eclShowerHypothesisId
Shower Particle Hypothesis ID.
int n2_mcMultip
Multiplicity of MCParticles.
int n2_eclShowerMultip
Number of ECLShowers per event.
std::vector< double > * n1_mcP
MCParticle momentum.
std::vector< double > * n2_eclShowerR
Shower R.
virtual void terminate() override
Termination action.
std::vector< double > * n2_mcTheta
MCParticle Theta.
TTree * n1_tree
Root tree and file for saving the output.
int n2_iExperiment
Experiment number.
ECLChargedPIDDataAnalysisModule()
Constructor of the module.
std::vector< double > * n1_eclShowerEnergy
Shower Energy.
int n1_mcMultip
Multiplicity of MCParticles.
std::vector< double > * n1_mcPhi
MCParticle Phi.
std::vector< double > * n1_eclShowerAbsZernike51
Shower Zernike51 Moment.
std::vector< int > * n1_mcMothPdg
MCParticle mother particle PDG code.
std::vector< double > * n1_eclShowerR
Shower R.
virtual void beginRun() override
Called once before a new run begins.
std::vector< double > * n2_eclEoP
ECL Shower Energy on Track Momentum.
std::vector< double > * n2_trkPhi
Track azimuthal direction.
std::vector< double > * n1_trkTheta
Track polar direction.
std::vector< double > * n1_mcEnergy
MCParticle energyx.
std::vector< int > * n2_mcPdg
MCParticle PDG code.
std::vector< double > * n1_eclShowerAbsZernike40
Shower Zernike40 Moment.
std::vector< double > * n1_eclEoP
ECL Shower Energy on Track Momentum.
std::vector< int > * n1_mcPdg
MCParticle PDG code.
std::vector< int > * n1_trkCharge
Track charge.
int n2_trkMultip
Track Multiplicity.
std::vector< double > * n2_eclShowerTheta
Shower Theta.
std::vector< double > * n2_eclShowerPhi
Shower Phi.
StoreArray< MCParticle > m_mcParticles
MCParticles StoreArray.
std::vector< double > * n2_trkTheta
Track polar direction.
std::vector< double > * n2_mcPhi
MCParticle Phi.
std::vector< double > * n1_eclShowerTheta
Shower Theta.
virtual ~ECLChargedPIDDataAnalysisModule()
Destructor of the module.
std::vector< double > * n2_trkP
Track momentum.
std::vector< double > * n1_trkP
Track momentum.
std::vector< int > * n2_trkPdg
Track PDG code.
std::vector< double > * n2_eclShowerAbsZernike51
Shower Zernike51 Moment.
TFile * m_rootFilePtr
members of ECLReconstructor Module
int n1_trkMultip
Track Multiplicity.
std::vector< double > * n2_mcEnergy
MCParticle energyx.
StoreObjPtr< EventMetaData > m_EventMetaData
Event metadata.
std::vector< int > * n2_eclShowerHypothesisId
Shower Particle Hypothesis ID.
std::vector< double > * n1_mcTheta
MCParticle Theta.
std::vector< double > * n1_eclShowerPhi
Shower Phi.
int n1_iEvent
Event number.
Accessor to arrays stored in the data store.
Type-safe access to single objects in the data store.
Abstract base class for different kinds of events.