28 calibChamber_( pset.getParameter<
string>(
"calibChamber") ) {
33 int selWheel, selStation, selSector;
35 linestr >> selWheel >> selStation >> selSector;
50 LogVerbatim(
"Calibration") <<
"[DTT0FEBPathCorrection] T0 version: " << t0H->
version();
65 throw cms::Exception(
"[DTT0FEBPathCorrection]") <<
"Could not find t0 entry in DB for" 69 int sector = chamberId.
sector();
72 int wire = wireId.
wire();
74 float t0RMSNew = t0RMS;
86 throw cms::Exception(
"[DTT0FEBPathCorrection]") <<
"Could not find t0 entry in DB for" 142 if( (st==1 && ((sl!=2 && w ==49) || (sl==2 && w ==57))) ||
143 ((st==2||st==3)&& (sl==2 && w ==57)) )
return 0.;
184 if ((st==2 && sl!=2 && w>=49) ||
185 (st==4 && sec==10 && w>=49) ||
186 (st==4 && (sec==8||sec==12) && w>=81) ) pos =(w-1+4)%8;
192 return dist[pos]*0.075;
DTT0Data correction(const DTWireId &) override
DTT0Data defaultT0(const DTWireId &)
DTChamberId chamberId() const
Return the corresponding ChamberId.
def setup(process, global_tag, zero_tesla=False)
std::string calibChamber_
int layer() const
Return the layer number.
DTSuperLayerId superlayerId() const
Return the corresponding SuperLayerId.
int get(int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, float &t0mean, float &t0rms, DTTimeUnits::type unit) const
DTChamberId chosenChamberId_
float t0FEBPathCorrection(int wheel, int st, int sec, int sl, int l, int w)
void setES(const edm::EventSetup &setup) override
int wire() const
Return the wire number.
int superlayer() const
Return the superlayer number (deprecated method name)
~DTT0FEBPathCorrection() override
DTLayerId layerId() const
Return the corresponding LayerId.
const std::string & version() const
access version
int station() const
Return the station number.
int wheel() const
Return the wheel number.