CMS 3D CMS Logo

DTConfigPedestals.h
Go to the documentation of this file.
1 //-------------------------------------------------
2 //
11 //
12 //--------------------------------------------------
13 #ifndef DT_CONFIG_PEDESTALS_H
14 #define DT_CONFIG_PEDESTALS_H
15 
16 //---------------
17 // C++ Headers --
18 //---------------
19 
20 //----------------------
21 // Base Class Headers --
22 //----------------------
23 
24 //------------------------------------
25 // Collaborating Class Declarations --
26 //------------------------------------
31 
32 // ---------------------
33 // -- Class Interface --
34 // ---------------------
35 
36 
38 
39  public:
40 
43 
46 
48  float getOffset(const DTWireId& wire) const;
49 
51  void setES(DTTPGParameters const *tpgParams,
52  DTT0 const *t0Params = 0);
53 
55  void setUseT0 (bool useT0) { my_useT0 = useT0; }
56 
58  void setDebug (bool debug) { my_debug = debug; }
59 
61  void print() const ;
62 
63  private :
64 
66  inline int debug() const { return my_debug; }
67 
69  inline bool useT0() const { return my_useT0; }
70 
71  private :
72 
73  bool my_debug;
74  bool my_useT0;
76  DTT0 const *my_t0i; // pointed object not owned by this class
77 
78 };
79 
80 #endif
int debug() const
Debug flag.
DTConfigPedestals()
Default Constructor.
DTTPGParameters const * my_tpgParams
void print() const
Print the setup.
void setDebug(bool debug)
Set debug flag.
Definition: DTT0.h:53
void setES(DTTPGParameters const *tpgParams, DTT0 const *t0Params=0)
Set parameters from ES.
float getOffset(const DTWireId &wire) const
Get wire by wire delay.
bool useT0() const
Use t0i.
void setUseT0(bool useT0)
Set t0i subtraction.
~DTConfigPedestals()
Destructor.