5#include "GaudiKernel/NTuple.h"
6#include "GaudiKernel/PropertyMgr.h"
25 void findSeed(vector<TofData*>& tofDataVec);
27 void BookNtuple(NTuple::Tuple*& tuple, NTuple::Tuple*& tuple1, NTuple::Tuple*& tuple2);
32 double ecalib(
const int nsci)
const;
35 double calib(
const int n,
const int m)
const;
38 inline double calibConst()
const {
return m_calibConst; }
41 inline bool isData()
const {
return m_isData; }
45 vector<Identifier> m_seedVec;
47 double m_calib[176][4];
52 PropertyMgr m_propMgr;
54 NTuple::Tuple* m_tuple;
55 NTuple::Item<long> m_part;
56 NTuple::Item<long> m_layer;
57 NTuple::Item<long> m_im;
58 NTuple::Item<long> m_end;
59 NTuple::Item<double> m_zpos;
60 NTuple::Item<double> m_adc1;
61 NTuple::Item<double> m_adc2;
62 NTuple::Item<double> m_tdc1;
63 NTuple::Item<double> m_tdc2;
64 NTuple::Item<double> m_energy;
66 NTuple::Tuple* m_tuple1;
67 NTuple::Item<long> m_shower_part;
68 NTuple::Item<long> m_shower_layer;
69 NTuple::Item<long> m_shower_im;
70 NTuple::Item<double> m_shower_zpos;
71 NTuple::Item<double> m_shower_energy;
73 NTuple::Tuple* m_tuple2;
74 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)
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)