9 #ifndef ARICHBACKGROUND_H
10 #define ARICHBACKGROUND_H
12 #include <framework/core/Module.h>
14 #include <arich/dbobjects/ARICHGeometryConfig.h>
15 #include <framework/database/DBObjPtr.h>
Class for accessing objects in the database.
virtual void event()
Event processor.
int source
hit source (RBB_HER, ...)
ARICHBackgroundModule()
Constructor.
int phPPDG
hit particle primary PDG code
TVector3 phGMvtx
hit particle grand mother vertex
TVector3 phPmom
primary particle momentum
TVector3 phVtx
hit particle vertex position
double trlen
particle track lenght in hit volume
virtual void initialize()
Initialize the Module.
virtual void beginRun()
Called when entering a new run.
DBObjPtr< ARICHGeometryConfig > m_arichgp
Geometry parametrization.
int moduleID
hit module ID
double en
energy of particle
int phMPDG
hit particle mother PDG code
TVector3 modOrig
HAPD module position.
double ttime
hit global time
double edep
hit deposited energy
virtual ~ARICHBackgroundModule()
Destructor.
virtual void terminate()
Termination action.
virtual void endRun()
End-of-run action.
TVector3 phpos
hit position
TVector3 phGMmom
hit particle grand mother momentum
int phGMPDG
hit particle grand mother PDG code
TTree * TrHits
Output tree.
TVector3 phPvtx
primary particle vertex
void printModuleParams() const
Prints module parameters.
TVector3 phmom
hit momentum
int m_bkgTag
background source.
std::string m_filename
Output file name.
TVector3 phMmom
hit particle mother momentum
int type
hit particle type; 0 hit in board, 1 hit in HAPD bottom, 2 photon hit
TFile * ff
Output root file.
double phnw
neutron 1MeV equiv.
TVector3 phMvtx
hit particle mother vertex
int phPDG
hit particle PDG code
Abstract base class for different kinds of events.