10#include <framework/core/Module.h>
11#include <framework/datastore/StoreArray.h>
12#include <framework/database/DBObjPtr.h>
14#include <arich/dbobjects/ARICHGeometryConfig.h>
18#include <Math/Vector3D.h>
Class for accessing objects in the database.
Accessor to arrays stored in the data store.
virtual void event()
Event processor.
ARICHBackgroundModule()
Constructor.
TFile * m_outputFile
Output root file.
ROOT::Math::XYZVector m_phPvtx
primary particle vertex
StoreArray< BeamBackHit > m_BeamBackHits
StoreArray for BeamBackHits.
virtual void initialize()
Initialize the Module.
virtual void beginRun()
Called when entering a new run.
int m_source
hit source (RBB_HER, ...)
DBObjPtr< ARICHGeometryConfig > m_arichgp
Geometry parametrization.
double m_phnw
neutron 1MeV equiv.
int m_phMPDG
hit particle mother PDG code
ROOT::Math::XYZVector m_phVtx
hit particle vertex position
ROOT::Math::XYZVector m_phPmom
primary particle momentum
StoreArray< ARICHSimHit > m_ARICHSimHits
StoreArray for ARICHSimHits.
int m_phGMPDG
hit particle grand mother PDG code
ROOT::Math::XYZVector m_phmom
hit momentum
int m_moduleID
hit module ID
virtual ~ARICHBackgroundModule()
Destructor.
virtual void terminate()
Termination action.
ROOT::Math::XYZVector m_phGMvtx
hit particle grand mother vertex
int m_phPDG
hit particle PDG code
ROOT::Math::XYZVector m_phpos
hit position
double m_edep
hit deposited energy
int m_type
hit particle type; 0 hit in board, 1 hit in HAPD bottom, 2 photon hit
double m_ttime
hit global time
int m_phPPDG
hit particle primary PDG code
double m_trackLength
particle track lenght in hit volume
void printModuleParams() const
Prints module parameters.
TTree * m_outputTree
Output tree.
double m_energy
energy of particle
int m_bkgTag
background source.
ROOT::Math::XYZVector m_modOrig
HAPD module position.
std::string m_filename
Output file name.
ROOT::Math::XYZVector m_phGMmom
hit particle grand mother momentum
StoreArray< MCParticle > m_MCParticles
StoreArray for MCParticles.
ROOT::Math::XYZVector m_phMvtx
hit particle mother vertex
ROOT::Math::XYZVector m_phMmom
hit particle mother momentum
Abstract base class for different kinds of events.