BOSS 7.0.3
BESIII Offline Software System
Loading...
Searching...
No Matches
InstallArea/include/TofRecEvent/TofRecEvent/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"
12#include "EventModel/EventModel.h"
13#include "Identifier/Identifier.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_t time
DOUBLE_PRECISION tr[3]
const CLID & CLID_RecETofHit
Definition: EventModel.cxx:329
ObjectVector< RecETofHit > RecETofHitCol
****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