Belle II Software development
eclHadronTimeCalibrationValidationCollectorModule.h
1/**************************************************************************
2 * basf2 (Belle II Analysis Software Framework) *
3 * Author: The Belle II Collaboration *
4 * *
5 * See git log for contributors and copyright holders. *
6 * This file is licensed under LGPL-3.0, see LICENSE.md. *
7 **************************************************************************/
8
9/**************************************************************************
10 * Description: *
11 * Select photons from a hadronic event selection to be used as a *
12 * validation of the ECL timing calibration. *
13 **************************************************************************/
14
15#pragma once
16
17/* Basf2 headers. */
18#include <calibration/CalibrationCollectorModule.h>
19#include <framework/dataobjects/EventMetaData.h>
20#include <framework/dataobjects/EventT0.h>
21#include <framework/datastore/StoreArray.h>
22
23class TTree ;
24
25namespace Belle2 {
30 class ECLDigit ;
31 class ECLCalDigit ;
32 class Track ;
33 class ECLCrystalCalib ;
34 class ECLCluster ;
35 class ECLChannelMapper;
36
37
43
44 public:
45
48
53
55 void inDefineHisto() override;
56
58 void prepare() override;
59
61 void collect() override;
62
63 private:
64
67
68 /****** Parameters END ******/
69
70
73 //StoreArray<ECLDigit> m_eclDigitArray; /**< Required input array of ECLDigits */
78
83
90 /*** tree branches ***/
91 /*** See inDefineHisto method for branches description ***/
92 int m_tree_evt_num = -1;
93 int m_tree_run = -1;
94 int m_tree_cid = -1;
95 double m_tree_dt99 = -1;
96 double m_tree_time = -1;
98 double m_tree_time_fromE0 = -1;
99 double m_tree_E0 = -1;
101 double m_tree_t0 = -1;
102 double m_tree_t0_unc = -1;
104 int m_NtightTracks = -1;
108 /*** tree branches END ***/
109
110 std::vector<float> m_EperCrys ;
113 double m_E_photon_clust = -1;
115 /****** Parameters for cuts ******/
118 double m_looseTrkZ0 ;
119 double m_tightTrkZ0 ;
120 double m_looseTrkD0 ;
121 double m_tightTrkD0 ;
124 } ;
126}
Calibration collector module base class.
Accessor to arrays stored in the data store.
Definition: StoreArray.h:113
Type-safe access to single objects in the data store.
Definition: StoreObjPtr.h:96
This module generates 'TimevsCrys' histogram to later (in eclBhabhaTAlgorithm) find time offset from ...
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.
void collect() override
Select events and crystals and accumulate histograms.
StoreArray< ECLCalDigit > m_eclCalDigitArray
Required input array of ECLCalDigits.
void inDefineHisto() override
Replacement for defineHisto() in CalibrationCollector modules.
Abstract base class for different kinds of events.