BOSS 7.0.7
BESIII Offline Software System
Loading...
Searching...
No Matches
RecETofHit.h
Go to the documentation of this file.
1//
2// BesIII Tof Reconstruction
3// Class: RecETofHit
4// (Endcap Tof Hit)
5// Created by Linli Jiang (USTC) 2005/09/04
6//
7#ifndef RECETOFHIT_H
8#define RECETOFHIT_H
9
10#include "GaudiKernel/ContainedObject.h"
11#include "GaudiKernel/ObjectVector.h"
14
15
16extern const CLID &CLID_RecETofHit;
17
18class RecETofHit : virtual public ContainedObject {
19 public:
20 RecETofHit();//{}
21 virtual ~RecETofHit(){}
22 virtual const CLID& clID() const { return RecETofHit::classID();}
23 static const CLID& classID() { return CLID_RecETofHit; }
24 public:
25 int getId() const { return _Id; }
26 int getTrk() const { return _trk; }
27 Identifier getTofId()const { return _tofId; }
28 int getMod() const { return _mod; }
29 int getQual() const { return _qual; }
30 double getRHit() const { return _rHit;}
31 double getdRHit() const { return _drHit;}
32 double getPhHit() const { return _phHit;}
33 double getThTrk() const { return _thTrk;}
34 double getPhTrk() const { return _phTrk;}
35 double getPh() const { return _ph;}
36 double getP() const { return _p;}
37 double getPath() const { return _path; }
38 double getTime() const { return _time; }
39 double getTof() const { return _tof; }
40 double getETof() const { return _etof; }
41 double getExpTof(int im) const { return _exptof[im]; }
42 double getTt() const { return _tt; }
43 double getETt() const { return _ett; }
44 double getTm() const { return _tm; }
45 double getETm() const { return _etm; }
46 double getTr() const { return _tr; }
47 double getEtr() const { return _etr; }
48 double getQ() const { return _q; }
49 double getEQ() const { return _eq; }
50 double getZTDC() const { return _zTDC;}
51 double getZADC() const { return _zADC;}
52
53 public:
54 void setZTDC(double zTDC){ _zTDC=zTDC; }
55 void setZADC(double zADC) { _zADC=zADC;}
56 void setId(int id){ _Id=id; }
57 void setP(double p){ _p=p; }
58 void setTrk(int trk){ _trk=trk; }
59 void setTofID(Identifier tofId){ _tofId=tofId; }
60 void setMod(int mod){ _mod=mod; }
61 void setQual(int qual){ _qual=qual; }
62 void setRHit(double rHit){ _rHit=rHit; }
63 void setdRHit(double drHit){ _drHit=drHit; }
64 void setPhHit(double phHit){ _phHit=phHit; }
65 void setThTrk(double thTrk){ _thTrk=thTrk; }
66 void setPhTrk(double phTrk){ _phTrk=phTrk; }
67 void setPh(double ph){ _ph=ph; }
68 void setPath(double path){ _path=path; }
69 void setTime(double time){ _time=time; }
70 void setTof(double tof){ _tof=tof; }
71 void setETof(double etof){ _etof=etof; }
72 void setExpTof(double exptof,int im){ _exptof[im]=exptof; }
73 void setTt(double tt){ _tt=tt; }
74 void setETt(double ett){ _ett=ett; }
75 void setTm(double tm){ _tm=tm; }
76 void setETm(double etm){ _etm=etm; }
77 void setTr(double tr){ _tr=tr; }
78 void setETr(double etr){ _etr=etr; }
79 void setQ(double q){ _q=q; }
80 void setEQ(double eq){ _eq=eq; }
81
82 private:
83 Identifier _tofId;
84 int _Id,_trk,_mod,_qual;
85 double _rHit,_drHit,_phHit,_thTrk,_phTrk,_ph,_path,_time;
86 double _tof,_etof;
87 double _exptof[5];
88 double _tt,_ett,_tm,_etm;
89 double _tr,_etr,_q,_eq;
90 double _zTDC,_zADC;
91 double _p;
92};
93
94typedef ObjectVector<RecETofHit> RecETofHitCol;
95
96#endif
DOUBLE_PRECISION tr[3]
****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_RecETofHit
Definition: EventModel.cxx:329
ObjectVector< RecETofHit > RecETofHitCol
Definition: RecETofHit.h:94
double getQ() const
Definition: RecETofHit.h:48
void setExpTof(double exptof, int im)
Definition: RecETofHit.h:72
void setId(int id)
Definition: RecETofHit.h:56
double getPath() const
Definition: RecETofHit.h:37
int getTrk() const
Definition: RecETofHit.h:26
void setTrk(int trk)
Definition: RecETofHit.h:58
double getETm() const
Definition: RecETofHit.h:45
void setTt(double tt)
Definition: RecETofHit.h:73
void setP(double p)
Definition: RecETofHit.h:57
virtual ~RecETofHit()
Definition: RecETofHit.h:21
virtual const CLID & clID() const
Definition: RecETofHit.h:22
void setEQ(double eq)
Definition: RecETofHit.h:80
double getRHit() const
Definition: RecETofHit.h:30
double getTm() const
Definition: RecETofHit.h:44
void setTr(double tr)
Definition: RecETofHit.h:77
void setZTDC(double zTDC)
Definition: RecETofHit.h:54
void setETm(double etm)
Definition: RecETofHit.h:76
double getETof() const
Definition: RecETofHit.h:40
double getEQ() const
Definition: RecETofHit.h:49
int getQual() const
Definition: RecETofHit.h:29
void setThTrk(double thTrk)
Definition: RecETofHit.h:65
double getZTDC() const
Definition: RecETofHit.h:50
int getId() const
Definition: RecETofHit.h:25
double getTt() const
Definition: RecETofHit.h:42
void setdRHit(double drHit)
Definition: RecETofHit.h:63
void setETof(double etof)
Definition: RecETofHit.h:71
double getEtr() const
Definition: RecETofHit.h:47
void setTm(double tm)
Definition: RecETofHit.h:75
double getdRHit() const
Definition: RecETofHit.h:31
void setQ(double q)
Definition: RecETofHit.h:79
double getPh() const
Definition: RecETofHit.h:35
double getZADC() const
Definition: RecETofHit.h:51
void setETr(double etr)
Definition: RecETofHit.h:78
void setTof(double tof)
Definition: RecETofHit.h:70
void setMod(int mod)
Definition: RecETofHit.h:60
double getTime() const
Definition: RecETofHit.h:38
double getPhHit() const
Definition: RecETofHit.h:32
Identifier getTofId() const
Definition: RecETofHit.h:27
double getP() const
Definition: RecETofHit.h:36
void setZADC(double zADC)
Definition: RecETofHit.h:55
void setRHit(double rHit)
Definition: RecETofHit.h:62
static const CLID & classID()
Definition: RecETofHit.h:23
double getTof() const
Definition: RecETofHit.h:39
void setPath(double path)
Definition: RecETofHit.h:68
double getETt() const
Definition: RecETofHit.h:43
double getExpTof(int im) const
Definition: RecETofHit.h:41
void setPhTrk(double phTrk)
Definition: RecETofHit.h:66
void setQual(int qual)
Definition: RecETofHit.h:61
void setPh(double ph)
Definition: RecETofHit.h:67
void setTime(double time)
Definition: RecETofHit.h:69
void setETt(double ett)
Definition: RecETofHit.h:74
int getMod() const
Definition: RecETofHit.h:28
void setTofID(Identifier tofId)
Definition: RecETofHit.h:59
double getTr() const
Definition: RecETofHit.h:46
void setPhHit(double phHit)
Definition: RecETofHit.h:64
double getThTrk() const
Definition: RecETofHit.h:33
double getPhTrk() const
Definition: RecETofHit.h:34