28 const double cSpeed = 29.9792458;
33 offset -= flightL / cSpeed;
34 }
else if (corrType == 2) {
44 offset -= flightL / cSpeed;
46 }
else if (corrType == 3) {
49 offset -= flightL / cSpeed;
50 }
else if (corrType != 0) {
51 cout <<
"ERROR: SimMuon:DTDigitizer:DTDigiSyncTOFCorr:TOFCorrection = " << corrType <<
"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.
const Plane & surface() const
The nominal surface of the GeomDet.
const DTTopology & specificTopology() const
double digitizerOffset(const DTWireId *id, const DTLayer *layer=nullptr) const override
Delays to be added to digi times during digitization, in ns.
double emulatorOffset(const DTWireId *id) const override
Offset to obtain "raw" TDCs for the L1 emulator from digis.
int wire() const
Return the wire number.
~DTDigiSyncTOFCorr() override
Destructor.
const DTChamber * chamber() const
const DTSuperLayer * superLayer() const
const PositionType & position() const