11 #include <framework/core/Module.h>
12 #include <framework/database/DBObjPtr.h>
13 #include <framework/datastore/StoreArray.h>
21 class ECLLeakageCorrections;
25 class ECLLeakagePosition;
48 virtual void event()
override;
51 virtual void endRun()
override;
84 {
return "ECLShowers" ; }
94 {
return "ECLShowersPureCsI" ; }
Class for accessing objects in the database.
Class to perform the shower correction.
TH2F phiCorrection
histogram of phi-dependent corrections
StoreArray< ECLShower > m_eclShowers
Store array: ECLShower.
ECLShowerCorrectorModule()
Constructor.
virtual void initialize() override
Initialize.
const int nThetaID
69 thetaIDs
virtual void event() override
Event.
const int nLeakReg
0 = forward, 1 = barrel, 2 = backward
virtual const char * eclShowerArrayName() const
We need names for the data objects to differentiate between PureCsI and default.
virtual void endRun() override
End run.
int nEnergies
number of energies for which there are leakage corrections
virtual void terminate() override
Terminate.
TH2F thetaCorrection
histogram of theta-dependent corrections
~ECLShowerCorrectorModule()
Destructor.
std::vector< std::vector< float > > leakLogE
log(E) values for each region
TH2F crysCorrection
histogram of nCrys-dependent corrections
int nXBins
number of thetaID x energy bins
virtual void beginRun() override
Begin run.
int nCrysMax
max number of crystals used to calculate energy
DBObjPtr< ECLLeakageCorrections > m_eclLeakageCorrections
Leakage correction from database.
ECL::ECLLeakagePosition * m_leakagePosition
location of cluster; cellID and position within the crystal
int nPositionBins
number of locations across crystal
The very same module but for PureCsI.
virtual const char * eclShowerArrayName() const override
PureCsI name ECLShowersPureCsI.
Class to get position information for a cluster for leakage corrections.
Accessor to arrays stored in the data store.
Abstract base class for different kinds of events.