BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
Tof/TofRecEvent/include/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 "EventModel/EventModel.h"
11#include "GaudiKernel/ContainedObject.h"
12#include "GaudiKernel/ObjectVector.h"
13#include "GaudiKernel/SmartRef.h"
14#include "Identifier/Identifier.h"
15
16extern const CLID& CLID_RecETofCalHit;
17
18class RecETofCalHit : virtual public ContainedObject {
19
20public:
22 virtual ~RecETofCalHit() {}
23
24 virtual const CLID& clID() const { return RecETofCalHit::classID(); }
25 static const CLID& classID() { return CLID_RecETofCalHit; }
26
27public:
28 int run() const { return m_run; }
29 int event() const { return m_event; }
30 int mod() const { return m_imod; }
31 int qual() const { return m_qual; }
32 double tpred() const { return m_tpred; }
33 double tdc() const { return m_tdc; }
34 double adc() const { return m_adc; }
35 double rHit() const { return m_rHit; }
36 double drHit() const { return m_drHit; }
37 double deltaPhi() const { return m_deltaPhi; }
38 double cosTheta() const { return m_costheta; }
39 double p() const { return m_p; }
40 double Q() const { return m_Q; }
41 double path() const { return m_path; }
42 // add 9/23/06
43public:
44 double tpred( int idx ) const {
45 if ( idx < 0 || idx > 5 ) idx = 0;
46 return m_texp[idx];
47 }
48 void setTpred( int idx, double t ) {
49 if ( idx < 0 || idx > 5 ) idx = 0;
50 m_texp[idx] = t;
51 }
52
53private:
54 double m_texp[5];
55 // end add
56public:
57 void setRun( int run ) { m_run = run; }
58 void setEvent( int event ) { m_event = event; }
59 void setMod( int imod ) { m_imod = imod; }
60 void setQual( int qual ) { m_qual = qual; }
61 void setTpred( double tpred ) { m_tpred = tpred; }
62 void setTdc( double tdc ) { m_tdc = tdc; }
63 void setAdc( double adc ) { m_adc = adc; }
64 void setRHit( double rHit ) { m_rHit = rHit; }
65 void setdRHit( double drHit ) { m_drHit = drHit; }
66 void setDeltaPhi( double deltaPhi ) { m_deltaPhi = deltaPhi; }
67 void setcosTheta( double cost ) { m_costheta = cost; }
68 void setP( double p ) { m_p = p; }
69 void setQ( double q ) { m_Q = q; }
70 void setPath( double l ) { m_path = l; }
71
72private:
73 int m_run;
74 int m_event;
75 int m_imod;
76 int m_qual;
77 double m_tpred;
78 double m_tdc;
79 double m_adc;
80 double m_rHit;
81 double m_drHit;
82 double m_deltaPhi;
83 double m_costheta;
84 double m_p;
85 double m_Q;
86 double m_path;
87};
88
89typedef ObjectVector<RecETofCalHit> RecETofCalHitCol;
90
91#endif // RECETOFCalHit_H
const CLID & CLID_RecETofCalHit
NTuple::Array< double > m_adc
NTuple::Item< double > m_p
NTuple::Array< double > m_tdc
****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_RecETofCalHit
int t()
Definition t.c:1