5#include "GaudiKernel/NTuple.h"
6#include "GaudiKernel/PropertyMgr.h"
36 void findSeed(vector<TofData*>& tofDataVec);
38 void BookNtuple(NTuple::Tuple*& tuple, NTuple::Tuple*& tuple1, NTuple::Tuple*& tuple2);
45 double ecalib(
const int nsci)
const;
48 double calib(
const int n,
const int m)
const;
51 inline double calibConst()
const {
return m_calibConst; }
54 inline bool isData()
const {
return m_isData; }
58 vector<Identifier> m_seedVec;
60 double m_calib[176][4];
65 PropertyMgr m_propMgr;
67 NTuple::Tuple* m_tuple;
68 NTuple::Item<long> m_part;
69 NTuple::Item<long> m_layer;
70 NTuple::Item<long> m_im;
71 NTuple::Item<long> m_end;
72 NTuple::Item<double> m_zpos;
73 NTuple::Item<double> m_adc1;
74 NTuple::Item<double> m_adc2;
75 NTuple::Item<double> m_tdc1;
76 NTuple::Item<double> m_tdc2;
77 NTuple::Item<double> m_energy;
79 NTuple::Tuple* m_tuple1;
80 NTuple::Item<long> m_shower_part;
81 NTuple::Item<long> m_shower_layer;
82 NTuple::Item<long> m_shower_im;
83 NTuple::Item<double> m_shower_zpos;
84 NTuple::Item<double> m_shower_energy;
86 NTuple::Tuple* m_tuple2;
87 NTuple::Item<double> m_seed_dist;
ObjectVector< RecTofTrack > RecTofTrackCol
void setCalibConst(const double cal)
double calib(const int n, const int m) const
double ecalib(const int nsci) const
void findSeed(vector< TofData * > &tofDataVec)
void BookNtuple(NTuple::Tuple *&tuple, NTuple::Tuple *&tuple1, NTuple::Tuple *&tuple2)
void setEcalib(const int nsci, const double ecalib)
int get_mrpc_stripid_neighbour(string which, int stripid, int layer)
vector< Identifier > getMRPC_neighbours(const Identifier &id)
void setIsData(const bool isData)
void energyCalib(vector< TofData * > &tofDataVec, RecTofTrackCol *recTofTrackCol)
double calibConst() const
vector< Identifier > getNextNeighbors(const Identifier &id)
void setCalib(const int n, const int m, const double ecalib)
vector< Identifier > getNeighbors(const Identifier &id)
void findShower(vector< TofData * > &tofDataVec, RecTofTrackCol *recTofTrackCol, double)
int get_mrpc_partid_neighbour(string which, int stripid, int layer)