47 double& tofCorr)
const override;
67 : t0Token_(cc.
esConsumes()),
debug(config.getUntrackedParameter<bool>(
"debug")) {}
84 double& tofCorr)
const {
90 edm::LogPrint(
"[DTTTrigSyncT0Only]") <<
"Offset (ns): " << tTrig + wirePropCorr - tofCorr << endl
91 <<
" various contributions are: "
94 <<
" Propagation along wire delay (ns): " << wirePropCorr << endl
95 <<
" TOF correction (ns): " << tofCorr << endl
99 return tTrig + wirePropCorr - tofCorr;
int get(int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, float &t0mean, float &t0rms, DTTimeUnits::type unit) const
constexpr std::array< uint8_t, layerIndexSize > layer
bool getData(T &iHolder) const
DTTTrigSyncT0Only(const edm::ParameterSet &config, edm::ConsumesCollector)
Constructor.
Log< level::Warning, true > LogPrint
void setES(const edm::EventSetup &setup) override
Pass the Event Setup to the algo at each event.
double emulatorOffset(const DTWireId &wireId, double &tTrig, double &t0cell) const override
~DTTTrigSyncT0Only() override
Destructor.
double offset(const DTLayer *layer, const DTWireId &wireId, const GlobalPoint &globPos, double &tTrig, double &wirePropCorr, double &tofCorr) const override
tuple config
parse the configuration file
#define DEFINE_EDM_PLUGIN(factory, type, name)
const std::string & version() const
access version
edm::ESGetToken< DTT0, DTT0Rcd > t0Token_