BOSS 7.0.2
BESIII Offline Software System
Loading...
Searching...
No Matches
Tof/TofRecEvent/TofRecEvent-00-02-14/TofRecEvent/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"
13#include "EventModel/EventModel.h"
14#include "Identifier/Identifier.h"
15
16extern const CLID &CLID_RecETofCalHit;
17
18
19class RecETofCalHit : virtual public ContainedObject {
20
21public:
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
const CLID & CLID_RecETofCalHit
Definition: EventModel.cxx:341
int t()
Definition: t.c:1