BOSS 7.0.1
BESIII Offline Software System
Loading...
Searching...
No Matches
InstallArea/include/TofRecEvent/TofRecEvent/RecBTofCalHit.h
Go to the documentation of this file.
1/*
2 * Class : RecBTofCalHit
3 * This class is a Event data model for Reconstrcted input for Barrel Tof calibration
4 * Created by Lin li Jiang (USTC) 2005/3/24 05:21
5 * Changed by Lin li Jiang (USTC) 2005/12/12 19:38
6 *
7 */
8#ifndef RECBTOFCALHIT_H
9#define RECBTOFCALHIT_H
10
11#include "GaudiKernel/ContainedObject.h"
12#include "GaudiKernel/ObjectVector.h"
13#include "GaudiKernel/SmartRef.h"
14#include "EventModel/EventModel.h"
15#include "Identifier/Identifier.h"
16
17extern const CLID &CLID_RecBTofCalHit;
18
19
20class RecBTofCalHit : virtual public ContainedObject {
21
22public:
23 RecBTofCalHit();//{}
24 virtual ~RecBTofCalHit(){}
25
26 virtual const CLID& clID() const { return RecBTofCalHit::classID();}
27 static const CLID& classID() { return CLID_RecBTofCalHit; }
28
29public:
30 int run() const { return m_run; }
31 int event() const { return m_event; }
32 int mod() const { return m_imod; }
33 int qual() const { return m_qual; }
34 double tpred() const { return m_tpred; }
35 double tdc1() const { return m_tdc1; }
36 double tdc2() const { return m_tdc2; }
37 double adc1() const { return m_adc1; }
38 double adc2() const { return m_adc2; }
39 double zHit() const { return m_zHit; }
40 double dzHit() const { return m_dzHit; }
41 double deltaPhi() const { return m_deltaPhi; }
42 double sinTheta() const { return m_sintheta; }
43 double p() const { return m_p; }
44 double Q() const { return m_Q; }
45 double path() const { return m_path; }
46//add 9/23/06
47public:
48 double tpred(int index) const { if(index<0||index>=5) index=0;return m_texp[index];}
49 void setTpred(int idx,double t) {if(idx<0||idx>=5) idx=0; m_texp[idx]=t; }
50private:
51 double m_texp[5];//0 e-,1 muon,2 Kaon,3 pion,4 proton
52//end add
53public:
54 void setRun(int run) { m_run = run; }
55 void setEvent(int event) { m_event = event; }
56 void setMod(int imod) { m_imod = imod; }
57 void setQual(int qual) { m_qual = qual; }
58 void setTpred(double tpred) { m_tpred = tpred; }
59 void setTdc1(double tdc1) { m_tdc1 = tdc1; }
60 void setTdc2(double tdc2) { m_tdc2 = tdc2; }
61 void setAdc1(double adc1) { m_adc1 = adc1; }
62 void setAdc2(double adc2) { m_adc2 = adc2; }
63 void setZHit(double zHit) { m_zHit = zHit; }
64 void setdZHit(double dzHit) { m_dzHit = dzHit; }
65 void setDeltaPhi(double deltaPhi) { m_deltaPhi = deltaPhi; }
66 void setsinTheta(double sint) { m_sintheta = sint; }
67 void setP(double p) { m_p = p; }
68 void setQ(double q) { m_Q = q; }
69 void setPath(double l) { m_path = l; }
70private:
71 int m_run;
72 int m_event;
73 int m_imod;
74 int m_qual;
75 double m_tpred;
76 double m_tdc1;
77 double m_tdc2;
78 double m_adc1;
79 double m_adc2;
80 double m_zHit;
81 double m_dzHit;
82 double m_deltaPhi;
83 double m_sintheta;
84 double m_p;
85 double m_Q;
86 double m_path;
87public:
88 RecBTofCalHit* next() const { return m_bch;}
89 void setnext(RecBTofCalHit* n) { m_bch=n;}
90private:
91 RecBTofCalHit* m_bch;
92};
93
94typedef ObjectVector<RecBTofCalHit> RecBTofCalHitCol;
95
96#endif //RECBTOFCalHit_H
97
98
const Int_t n
const CLID & CLID_RecBTofCalHit
Definition: EventModel.cxx:338
ObjectVector< RecBTofCalHit > RecBTofCalHitCol
****INTEGER imax DOUBLE PRECISION m_pi *DOUBLE PRECISION m_amfin DOUBLE PRECISION m_Chfin DOUBLE PRECISION m_Xenph DOUBLE PRECISION m_sinw2 DOUBLE PRECISION m_GFermi DOUBLE PRECISION m_MfinMin DOUBLE PRECISION m_ta2 INTEGER m_out INTEGER m_KeyFSR INTEGER m_KeyQCD *COMMON c_Semalib $ !copy of input $ !CMS energy $ !beam mass $ !final mass $ !beam charge $ !final charge $ !smallest final mass $ !Z mass $ !Z width $ !EW mixing angle $ !Gmu Fermi $ alphaQED at q
Definition: KKsem.h:33
const CLID & CLID_RecBTofCalHit
Definition: EventModel.cxx:338
int t()
Definition: t.c:1