4#include "TofRecEvent/RecTofTrack.h"
5#include "GaudiKernel/NTuple.h"
6#include "GaudiKernel/PropertyMgr.h"
11#include "MrpcCalibSvc/MrpcCalibSvc.h"
40 void findSeed(vector<TofData*>& tofDataVec);
42 void BookNtuple(NTuple::Tuple*& tuple, NTuple::Tuple*& tuple1, NTuple::Tuple*& tuple2);
52 double calib(
const int n,
const int m)
const;
55 inline double calibConst()
const {
return m_calibConst; }
58 inline bool isData()
const {
return m_isData; }
62 vector<Identifier> m_seedVec;
64 double m_calib[176][4];
73 PropertyMgr m_propMgr;
75 NTuple::Tuple* m_tuple;
76 NTuple::Item<long> m_part;
77 NTuple::Item<long> m_layer;
78 NTuple::Item<long> m_im;
79 NTuple::Item<long> m_end;
80 NTuple::Item<double> m_zpos;
81 NTuple::Item<double> m_adc1;
82 NTuple::Item<double> m_adc2;
83 NTuple::Item<double> m_tdc1;
84 NTuple::Item<double> m_tdc2;
85 NTuple::Item<double> m_energy;
87 NTuple::Tuple* m_tuple1;
88 NTuple::Item<long> m_shower_part;
89 NTuple::Item<long> m_shower_layer;
90 NTuple::Item<long> m_shower_im;
91 NTuple::Item<double> m_shower_zpos;
92 NTuple::Item<double> m_shower_energy;
94 NTuple::Tuple* m_tuple2;
95 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)