BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
Tof/TofRecEvent/include/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 "EventModel/EventModel.h"
12#include "GaudiKernel/ContainedObject.h"
13#include "GaudiKernel/ObjectVector.h"
14#include "GaudiKernel/SmartRef.h"
15#include "Identifier/Identifier.h"
16
17extern const CLID& CLID_RecBTofCalHit;
18
19class RecBTofCalHit : virtual public ContainedObject {
20
21public:
23 virtual ~RecBTofCalHit() {}
24
25 virtual const CLID& clID() const { return RecBTofCalHit::classID(); }
26 static const CLID& classID() { return CLID_RecBTofCalHit; }
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 tdc1() const { return m_tdc1; }
35 double tdc2() const { return m_tdc2; }
36 double adc1() const { return m_adc1; }
37 double adc2() const { return m_adc2; }
38 double zHit() const { return m_zHit; }
39 double dzHit() const { return m_dzHit; }
40 double deltaPhi() const { return m_deltaPhi; }
41 double sinTheta() const { return m_sintheta; }
42 double p() const { return m_p; }
43 double Q() const { return m_Q; }
44 double path() const { return m_path; }
45 // add 9/23/06
46public:
47 double tpred( int index ) const {
48 if ( index < 0 || index >= 5 ) index = 0;
49 return m_texp[index];
50 }
51 void setTpred( int idx, double t ) {
52 if ( idx < 0 || idx >= 5 ) idx = 0;
53 m_texp[idx] = t;
54 }
55
56private:
57 double m_texp[5]; // 0 e-,1 muon,2 Kaon,3 pion,4 proton
58 // end add
59public:
60 void setRun( int run ) { m_run = run; }
61 void setEvent( int event ) { m_event = event; }
62 void setMod( int imod ) { m_imod = imod; }
63 void setQual( int qual ) { m_qual = qual; }
64 void setTpred( double tpred ) { m_tpred = tpred; }
65 void setTdc1( double tdc1 ) { m_tdc1 = tdc1; }
66 void setTdc2( double tdc2 ) { m_tdc2 = tdc2; }
67 void setAdc1( double adc1 ) { m_adc1 = adc1; }
68 void setAdc2( double adc2 ) { m_adc2 = adc2; }
69 void setZHit( double zHit ) { m_zHit = zHit; }
70 void setdZHit( double dzHit ) { m_dzHit = dzHit; }
71 void setDeltaPhi( double deltaPhi ) { m_deltaPhi = deltaPhi; }
72 void setsinTheta( double sint ) { m_sintheta = sint; }
73 void setP( double p ) { m_p = p; }
74 void setQ( double q ) { m_Q = q; }
75 void setPath( double l ) { m_path = l; }
76
77private:
78 int m_run;
79 int m_event;
80 int m_imod;
81 int m_qual;
82 double m_tpred;
83 double m_tdc1;
84 double m_tdc2;
85 double m_adc1;
86 double m_adc2;
87 double m_zHit;
88 double m_dzHit;
89 double m_deltaPhi;
90 double m_sintheta;
91 double m_p;
92 double m_Q;
93 double m_path;
94
95public:
96 RecBTofCalHit* next() const { return m_bch; }
97 void setnext( RecBTofCalHit* n ) { m_bch = n; }
98
99private:
100 RecBTofCalHit* m_bch;
101};
102
103typedef ObjectVector<RecBTofCalHit> RecBTofCalHitCol;
104
105#endif // RECBTOFCalHit_H
const Int_t n
const CLID & CLID_RecBTofCalHit
NTuple::Item< double > m_p
****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
int t()
Definition t.c:1