34 const double cSpeed = 29.9792458;
39 offset -= flightL/cSpeed;
40 }
else if (corrType==2) {
50 offset -= flightL/cSpeed;
52 }
else if (corrType==3) {
55 offset -= flightL/cSpeed;
56 }
else if (corrType!=0){
57 cout <<
"ERROR: SimMuon:DTDigitizer:DTDigiSyncTOFCorr:TOFCorrection = " << corrType
58 <<
"is not defined " << endl;
GlobalPoint toGlobal(const Point2DBase< Scalar, LocalTag > lp) const
T getParameter(std::string const &) const
float wirePosition(int wireNumber) const
Returns the x position in the layer of a given wire number.
DTDigiSyncTOFCorr(const edm::ParameterSet &)
Constructor.
virtual double digitizerOffset(const DTWireId *id, const DTLayer *layer=0) const
Delays to be added to digi times during digitization, in ns.
const DTTopology & specificTopology() const
unsigned int offset(bool)
int wire() const
Return the wire number.
virtual ~DTDigiSyncTOFCorr()
Destructor.
const DTChamber * chamber() const
const DTSuperLayer * superLayer() const
const BoundPlane & surface() const
The nominal surface of the GeomDet.
const PositionType & position() const
virtual double emulatorOffset(const DTWireId *id) const
Offset to obtain "raw" TDCs for the L1 emulator from digis.