#include <DTConfigPedestals.h>
Public Member Functions | |
DTConfigPedestals () | |
Default Constructor. More... | |
float | getOffset (const DTWireId &wire) const |
Get wire by wire delay. More... | |
void | print () const |
Print the setup. More... | |
void | setDebug (bool debug) |
Set debug flag. More... | |
void | setES (DTTPGParameters const *tpgParams, DTT0 const *t0Params=nullptr) |
Set parameters from ES. More... | |
void | setUseT0 (bool useT0) |
Set t0i subtraction. More... | |
~DTConfigPedestals () override | |
Destructor. More... | |
Private Member Functions | |
int | debug () const |
Debug flag. More... | |
bool | useT0 () const |
Use t0i. More... | |
Private Member Functions inherited from DTConfig | |
DTConfig () | |
Constructor. More... | |
virtual | ~DTConfig () |
Destructor. More... | |
Private Attributes | |
bool | my_debug |
DTT0 const * | my_t0i |
DTTPGParameters const * | my_tpgParams |
bool | my_useT0 |
Additional Inherited Members | |
Static Private Attributes inherited from DTConfig | |
static const int | NBTITC = 4 |
static const int | NSTEPF = 9 |
static const int | NSTEPL = 24 |
Constants: first and last step to start trigger finding. More... | |
static const int | NTCTSS = 4 |
Constant: number of TRACOs in input to a TSS. More... | |
Definition at line 36 of file DTConfigPedestals.h.
DTConfigPedestals::DTConfigPedestals | ( | ) |
Default Constructor.
Definition at line 34 of file DTConfigPedestals.cc.
|
override |
|
inlineprivate |
Debug flag.
Definition at line 61 of file DTConfigPedestals.h.
References my_debug.
Referenced by getOffset(), print(), and setDebug().
float DTConfigPedestals::getOffset | ( | const DTWireId & | wire | ) | const |
Get wire by wire delay.
Definition at line 56 of file DTConfigPedestals.cc.
References DTSuperLayerId::chamberId(), gather_cfg::cout, debug(), DTT0::get(), DTTPGParameters::get(), my_t0i, my_tpgParams, DTTimeUnits::ns, EcalCondDBWriter_cfi::pedestal, and useT0().
Referenced by DTBtiCard::loadBTI().
void DTConfigPedestals::print | ( | void | ) | const |
Print the setup.
Definition at line 86 of file DTConfigPedestals.cc.
References gather_cfg::cout, debug(), DTTPGParameters::get(), my_tpgParams, DTTimeUnits::ns, fileinputsource_cfi::sec, and useT0().
Referenced by DTConfigTester::analyze(), and setDebug().
|
inline |
Set debug flag.
Definition at line 54 of file DTConfigPedestals.h.
References debug(), my_debug, and print().
Referenced by DTConfigDBProducer::readDBPedestalsConfig().
void DTConfigPedestals::setES | ( | DTTPGParameters const * | tpgParams, |
DTT0 const * | t0Params = nullptr |
||
) |
Set parameters from ES.
Definition at line 49 of file DTConfigPedestals.cc.
References my_t0i, my_tpgParams, and useT0().
Referenced by DTConfigTrivialProducer::buildTrivialPedestals(), DTConfigDBProducer::buildTrivialPedestals(), and DTConfigDBProducer::readDBPedestalsConfig().
|
inline |
Set t0i subtraction.
Definition at line 51 of file DTConfigPedestals.h.
References my_useT0, and useT0().
Referenced by DTConfigTrivialProducer::buildTrivialPedestals(), DTConfigDBProducer::buildTrivialPedestals(), and DTConfigDBProducer::readDBPedestalsConfig().
|
inlineprivate |
Use t0i.
Definition at line 64 of file DTConfigPedestals.h.
References my_useT0.
Referenced by getOffset(), print(), setES(), and setUseT0().
|
private |
Definition at line 67 of file DTConfigPedestals.h.
Referenced by debug(), and setDebug().
|
private |
Definition at line 70 of file DTConfigPedestals.h.
Referenced by getOffset(), and setES().
|
private |
Definition at line 69 of file DTConfigPedestals.h.
Referenced by getOffset(), print(), and setES().
|
private |
Definition at line 68 of file DTConfigPedestals.h.
Referenced by setUseT0(), and useT0().