BOSS 7.0.9
BESIII Offline Software System
Loading...
Searching...
No Matches
RecETofCalHit.h
Go to the documentation of this file.
1/*
2 * Class : RecETofCalHit
3 * This class is a Event data model for Reconstrcted input for Endcap Tof calibration
4 * Created by Lin li Jiang (USTC) 2005/12/12 17:42:22
5 *
6 */
7#ifndef RECETOFCALHIT_H
8#define RECETOFCALHIT_H
9
10#include "GaudiKernel/ContainedObject.h"
11#include "GaudiKernel/ObjectVector.h"
12#include "GaudiKernel/SmartRef.h"
15
16extern const CLID &CLID_RecETofCalHit;
17
18
19class RecETofCalHit : virtual public ContainedObject {
20
21public:
22 RecETofCalHit();//{}
23 virtual ~RecETofCalHit(){}
24
25 virtual const CLID& clID() const { return RecETofCalHit::classID();}
26 static const CLID& classID() { return CLID_RecETofCalHit; }
27
28public:
29 int run() const { return m_run; }
30 int event() const { return m_event; }
31 int mod() const { return m_imod; }
32 int qual() const { return m_qual; }
33 double tpred() const { return m_tpred; }
34 double tdc() const { return m_tdc; }
35 double adc() const { return m_adc; }
36 double rHit() const { return m_rHit; }
37 double drHit() const { return m_drHit; }
38 double deltaPhi() const { return m_deltaPhi; }
39 double cosTheta() const { return m_costheta; }
40 double p() const { return m_p; }
41 double Q() const { return m_Q; }
42 double path() const { return m_path; }
43//add 9/23/06
44public:
45 double tpred(int idx) const { if(idx<0||idx>5) idx=0;return m_texp[idx];}
46 void setTpred(int idx,double t) { if(idx<0||idx>5) idx=0;m_texp[idx]=t;}
47private:
48 double m_texp[5];
49//end add
50public:
51 void setRun(int run ) { m_run = run; }
52 void setEvent(int event ) { m_event = event; }
53 void setMod(int imod ) { m_imod = imod; }
54 void setQual(int qual) { m_qual = qual; }
55 void setTpred(double tpred) { m_tpred = tpred; }
56 void setTdc(double tdc) { m_tdc = tdc; }
57 void setAdc(double adc) { m_adc = adc; }
58 void setRHit(double rHit) { m_rHit = rHit; }
59 void setdRHit(double drHit) { m_drHit = drHit; }
60 void setDeltaPhi(double deltaPhi) { m_deltaPhi = deltaPhi; }
61 void setcosTheta(double cost) { m_costheta = cost; }
62 void setP(double p) { m_p = p; }
63 void setQ(double q) { m_Q = q; }
64 void setPath(double l) { m_path = l; }
65private:
66 int m_run;
67 int m_event;
68 int m_imod;
69 int m_qual;
70 double m_tpred;
71 double m_tdc;
72 double m_adc;
73 double m_rHit;
74 double m_drHit;
75 double m_deltaPhi;
76 double m_costheta;
77 double m_p;
78 double m_Q;
79 double m_path;
80};
81
82typedef ObjectVector<RecETofCalHit> RecETofCalHitCol;
83
84#endif //RECETOFCalHit_H
85
86
****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
ObjectVector< RecETofCalHit > RecETofCalHitCol
Definition: RecETofCalHit.h:82
const CLID & CLID_RecETofCalHit
Definition: EventModel.cxx:341
TTree * t
Definition: binning.cxx:23
double drHit() const
Definition: RecETofCalHit.h:37
void setEvent(int event)
Definition: RecETofCalHit.h:52
double p() const
Definition: RecETofCalHit.h:40
double tpred() const
Definition: RecETofCalHit.h:33
void setdRHit(double drHit)
Definition: RecETofCalHit.h:59
void setDeltaPhi(double deltaPhi)
Definition: RecETofCalHit.h:60
virtual ~RecETofCalHit()
Definition: RecETofCalHit.h:23
double deltaPhi() const
Definition: RecETofCalHit.h:38
void setTdc(double tdc)
Definition: RecETofCalHit.h:56
double tpred(int idx) const
Definition: RecETofCalHit.h:45
int run() const
Definition: RecETofCalHit.h:29
static const CLID & classID()
Definition: RecETofCalHit.h:26
double path() const
Definition: RecETofCalHit.h:42
double Q() const
Definition: RecETofCalHit.h:41
double cosTheta() const
Definition: RecETofCalHit.h:39
void setRHit(double rHit)
Definition: RecETofCalHit.h:58
void setRun(int run)
Definition: RecETofCalHit.h:51
int mod() const
Definition: RecETofCalHit.h:31
void setPath(double l)
Definition: RecETofCalHit.h:64
void setMod(int imod)
Definition: RecETofCalHit.h:53
virtual const CLID & clID() const
Definition: RecETofCalHit.h:25
void setP(double p)
Definition: RecETofCalHit.h:62
double adc() const
Definition: RecETofCalHit.h:35
void setAdc(double adc)
Definition: RecETofCalHit.h:57
void setcosTheta(double cost)
Definition: RecETofCalHit.h:61
double tdc() const
Definition: RecETofCalHit.h:34
double rHit() const
Definition: RecETofCalHit.h:36
int event() const
Definition: RecETofCalHit.h:30
void setQ(double q)
Definition: RecETofCalHit.h:63
int qual() const
Definition: RecETofCalHit.h:32
void setTpred(double tpred)
Definition: RecETofCalHit.h:55
void setQual(int qual)
Definition: RecETofCalHit.h:54
void setTpred(int idx, double t)
Definition: RecETofCalHit.h:46