Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
L1TriggerConfig
DTTPGConfig
interface
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
//------------------------------------
27
#include "
L1TriggerConfig/DTTPGConfig/interface/DTConfig.h
"
28
#include "
CondFormats/DTObjects/interface/DTTPGParameters.h
"
29
#include "
CondFormats/DTObjects/interface/DTT0.h
"
30
#include "
DataFormats/MuonDetId/interface/DTWireId.h
"
31
32
// ---------------------
33
// -- Class Interface --
34
// ---------------------
35
36
37
class
DTConfigPedestals
:
DTConfig
{
38
39
public
:
40
42
DTConfigPedestals
();
43
45
~DTConfigPedestals
();
46
48
float
getOffset
(
const
DTWireId
& wire);
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
;
75
DTTPGParameters
const
*
my_tpgParams
;
76
DTT0
const
*
my_t0i
;
// pointed object not owned by this class
77
78
};
79
80
#endif
DTConfigPedestals
Definition:
DTConfigPedestals.h:37
DTConfigPedestals::debug
int debug() const
Debug flag.
Definition:
DTConfigPedestals.h:66
DTConfigPedestals::DTConfigPedestals
DTConfigPedestals()
Default Constructor.
Definition:
DTConfigPedestals.cc:34
DTConfigPedestals::my_t0i
DTT0 const * my_t0i
Definition:
DTConfigPedestals.h:76
DTConfigPedestals::my_tpgParams
DTTPGParameters const * my_tpgParams
Definition:
DTConfigPedestals.h:75
DTConfigPedestals::print
void print() const
Print the setup.
Definition:
DTConfigPedestals.cc:99
DTConfig
Definition:
DTConfig.h:32
DTConfigPedestals::my_useT0
bool my_useT0
Definition:
DTConfigPedestals.h:74
DTConfigPedestals::setDebug
void setDebug(bool debug)
Set debug flag.
Definition:
DTConfigPedestals.h:58
DTConfigPedestals::my_debug
bool my_debug
Definition:
DTConfigPedestals.h:73
DTT0
Definition:
DTT0.h:52
DTTPGParameters
Definition:
DTTPGParameters.h:63
DTConfigPedestals::getOffset
float getOffset(const DTWireId &wire)
Get wire by wire delay.
Definition:
DTConfigPedestals.cc:64
DTConfigPedestals::setES
void setES(DTTPGParameters const *tpgParams, DTT0 const *t0Params=0)
Set parameters from ES.
Definition:
DTConfigPedestals.cc:53
DTConfig.h
DTConfigPedestals::useT0
bool useT0() const
Use t0i.
Definition:
DTConfigPedestals.h:69
DTConfigPedestals::setUseT0
void setUseT0(bool useT0)
Set t0i subtraction.
Definition:
DTConfigPedestals.h:55
DTT0.h
DTTPGParameters.h
DTWireId.h
DTWireId
Definition:
DTWireId.h:15
DTConfigPedestals::~DTConfigPedestals
~DTConfigPedestals()
Destructor.
Definition:
DTConfigPedestals.cc:46
Generated for CMSSW Reference Manual by
1.8.5