#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=0) |
Set parameters from ES. More... | |
void | setUseT0 (bool useT0) |
Set t0i subtraction. More... | |
~DTConfigPedestals () | |
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 37 of file DTConfigPedestals.h.
DTConfigPedestals::DTConfigPedestals | ( | ) |
Default Constructor.
Definition at line 34 of file DTConfigPedestals.cc.
DTConfigPedestals::~DTConfigPedestals | ( | ) |
|
inlineprivate |
Debug flag.
Definition at line 66 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 64 of file DTConfigPedestals.cc.
References DTSuperLayerId::chamberId(), gather_cfg::cout, debug(), DTTPGParameters::get(), DTT0::get(), my_t0i, my_tpgParams, DTTimeUnits::ns, and useT0().
Referenced by DTBtiCard::loadBTI(), and DTFineDelayCorr::runClientDiagnostic().
void DTConfigPedestals::print | ( | void | ) | const |
Print the setup.
Definition at line 99 of file DTConfigPedestals.cc.
References gather_cfg::cout, debug(), DTChamberId, DTTPGParameters::get(), my_tpgParams, DTTimeUnits::ns, and useT0().
|
inline |
Set debug flag.
Definition at line 58 of file DTConfigPedestals.h.
References debug(), and my_debug.
Referenced by DTConfigDBProducer::readDBPedestalsConfig().
void DTConfigPedestals::setES | ( | DTTPGParameters const * | tpgParams, |
DTT0 const * | t0Params = 0 |
||
) |
Set parameters from ES.
Definition at line 53 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 55 of file DTConfigPedestals.h.
References my_useT0, and useT0().
Referenced by DTConfigTrivialProducer::buildTrivialPedestals(), DTConfigDBProducer::buildTrivialPedestals(), and DTConfigDBProducer::readDBPedestalsConfig().
|
inlineprivate |
Use t0i.
Definition at line 69 of file DTConfigPedestals.h.
References my_useT0.
Referenced by getOffset(), print(), setES(), and setUseT0().
|
private |
Definition at line 73 of file DTConfigPedestals.h.
Referenced by debug(), and setDebug().
|
private |
Definition at line 76 of file DTConfigPedestals.h.
Referenced by getOffset(), and setES().
|
private |
Definition at line 75 of file DTConfigPedestals.h.
Referenced by getOffset(), print(), and setES().
|
private |
Definition at line 74 of file DTConfigPedestals.h.
Referenced by setUseT0(), and useT0().