12#include <ecl/mapper/ECLChannelMapper.h>
15#include <calibration/CalibrationCollectorModule.h>
16#include <framework/database/DBObjPtr.h>
17#include <framework/dataobjects/EventMetaData.h>
18#include <framework/dataobjects/EventT0.h>
19#include <framework/datastore/StoreArray.h>
20#include <mdst/dataobjects/SoftwareTriggerResult.h>
32 class ECLCrystalCalib ;
34 class ECLChannelMapper;
76 std::make_unique<Belle2::ECL::ECLChannelMapper>();
Calibration collector module base class.
Class for accessing objects in the database.
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 ...
TTree * m_dbg_tree_run
debug output tree for per run
std::vector< float > m_CrateTime
vector obtained from DB object
double m_E_electron_clust
Electron cluster energy.
DBObjPtr< ECLCrystalCalib > m_CrateTimeDB
database object
StoreObjPtr< EventT0 > m_eventT0
StoreObjPtr for T0.
double m_tree_time_fromE1
Calibrated time - second highest E cluster.
int m_tree_run
Run number for debug TTree output.
int m_tree_crateid
Crate ID for debug TTree output.
double m_looseTrkD0
Loose track d0 minimum cut.
bool m_saveTree
If true, save TTree with more detailed event info.
int m_tree_PreviousRun
Run number for the previous run for debug TTree output.
StoreArray< ECLCluster > m_eclClusterArray
Required input array of ECLClusters.
virtual ~eclBhabhaTimeCalibrationValidationCollectorModule()
Module destructor.
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_tree_E1
second highest E cluster energy
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_electronClusters
debug output tree for per electron cluster
DBObjPtr< Belle2::ECLChannelMap > m_channelMapDB
Mapper of ecl channels to various other objects, like crates.
void collect() override
Select events and crystals and accumulate histograms.
std::vector< float > m_CrateTimeUnc
uncertainty vector obtained from DB object
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.
bool skipTrgSel
flag to skip the trigger skim selection in the module
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.
eclBhabhaTimeCalibrationValidationCollectorModule()
Module constructor.
double m_tree_tcrate
Crate time for debug TTree output.
StoreArray< Track > tracks
Required input array of tracks.
StoreObjPtr< EventMetaData > m_EventMetaData
Event metadata.
double m_tree_t0_unc
EventT0 uncertainty for debug TTree output.
std::unique_ptr< Belle2::ECL::ECLChannelMapper > m_crystalMapper
ECL object for keeping track of mapping between crystals and crates etc.
int m_tree_evt_num
Event number for debug TTree output.
StoreObjPtr< SoftwareTriggerResult > m_TrgResult
Store array for Trigger selection.
double m_tree_tcrate_unc
Crate time uncertainty for debug TTree output.
double m_looseTrkZ0
Loose track z0 minimum cut.
Abstract base class for different kinds of events.