18#include <calibration/CalibrationCollectorModule.h>
19#include <framework/dataobjects/EventMetaData.h>
20#include <framework/dataobjects/EventT0.h>
21#include <framework/datastore/StoreArray.h>
33 class ECLCrystalCalib ;
35 class ECLChannelMapper;
Calibration collector module base class.
Accessor to arrays stored in the data store.
Type-safe access to single objects in the data store.
This module generates 'TimevsCrys' histogram to later (in eclBhabhaTAlgorithm) find time offset from ...
double m_E_photon_clust
Photon cluster energy.
StoreObjPtr< EventT0 > m_eventT0
StoreObjPtr for T0.
int m_tree_run
Run number for debug TTree output.
double m_looseTrkD0
Loose track d0 minimum cut.
bool m_saveTree
If true, save TTree with more detailed event info.
StoreArray< ECLCluster > m_eclClusterArray
Required input array of ECLClusters.
short m_timeAbsMax
Events with abs(time) > m_timeAbsMax are excluded, mostly for histogram x-range purposes.
int m_tree_cid
ECL Cell ID (1..ECLElementNumbers::c_NCrystals) for debug TTree output.
TTree * m_dbg_tree_event
debug output tree for per event
double m_tree_time
Calibrated time.
double m_tightTrkZ0
Tight track z0 minimum cut.
double m_tree_E0
Highest E cluster energy.
int m_NtightTracks
Number of tight tracks.
TTree * m_dbg_tree_photonClusters
Output tree with detailed event data.
void collect() override
Select events and crystals and accumulate histograms.
virtual ~eclHadronTimeCalibrationValidationCollectorModule()
Module destructor.
double m_tree_dt99
dt99 for cluster
StoreArray< ECLCalDigit > m_eclCalDigitArray
Required input array of ECLCalDigits.
std::vector< float > m_EperCrys
ECL Cal digit energy for each crystal.
void prepare() override
Define histograms and read payloads from DB.
double m_tightTrkD0
Tight track d0 minimum cut.
double m_tree_t0
EventT0 (not from ECL) for debug TTree output.
double m_tree_time_fromE0
Calibrated time - highest E cluster.
void inDefineHisto() override
Replacement for defineHisto() in CalibrationCollector modules.
int m_NphotonClusters
Number of photon clusters.
StoreArray< Track > tracks
Required input array of tracks.
eclHadronTimeCalibrationValidationCollectorModule()
Module constructor.
int m_NGoodClusters
Number of good clusters.
StoreObjPtr< EventMetaData > m_EventMetaData
Event metadata.
double m_tree_t0_unc
EventT0 uncertainty for debug TTree output.
int m_tree_evt_num
Event number for debug TTree output.
double m_looseTrkZ0
Loose track z0 minimum cut.
Abstract base class for different kinds of events.