35 my_tpgParams(0) , my_t0i(0) {
54 DTT0 const *t0Params) {
71 float pedestal = 25.*nc + ph;
84 std::cout <<
"DTConfigPedestals::getOffset :" << std::endl;
85 std::cout <<
"\t# of counts (BX): " << nc <<
" fine corr (ns) : "<< ph << std::endl;
88 std::cout <<
"enabled. t0i for wire " << wire <<
" : " << t0mean << std::endl;
101 std::cout <<
"******************************************************************************" << std::endl;
102 std::cout <<
"* DT ConfigPedestals *" << std::endl;
103 std::cout <<
"******************************************************************************" << std::endl;
108 for (
int wh=-2 ; wh<=2; ++wh) {
109 for (
int sec=1 ; sec<=14; ++sec) {
110 for (
int st=1 ; st<=4; ++st) {
112 if (sec>12 && st!=4)
continue;
119 std::cout << chId <<
"\t# counts (BX) : " << ncount
120 <<
"\tfine adj : " << fine << std::endl;
126 std::cout <<
"******************************************************************************" << std::endl;
int debug() const
Debug flag.
DTConfigPedestals()
Default Constructor.
DTChamberId chamberId() const
Return the corresponding ChamberId.
DTTPGParameters const * my_tpgParams
void print() const
Print the setup.
int get(int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, float &t0mean, float &t0rms, DTTimeUnits::type unit) const
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.
volatile std::atomic< bool > shutdown_flag false
int get(int wheelId, int stationId, int sectorId, int &nc, float &ph, DTTimeUnits::type unit) const
get content
~DTConfigPedestals()
Destructor.