1 #ifndef CalibMuon_DTT0Calibration_H
2 #define CalibMuon_DTT0Calibration_H
28 #include "TSpectrum.h"
107 std::map<DTWireId, double>
mK;
109 std::map<DTWireId, double>
qK;
std::vector< DTLayerId > layerIdWithWireHistos
double tpPeakWidthPerLayer
std::map< DTLayerId, TH1I > theHistoLayerMap
std::map< DTWireId, double > theAbsoluteT0PerWire
void endJob() override
Compute the mean and the RMS of the t0 from the maps and write them to the DB with channel granularit...
std::map< DTChamberId, double > theMeanT0ByChamber
std::vector< DTWireId > wireIdWithHistos
std::string theCalibWheel
std::map< DTChamberId, double > theRefT0ByChamber
std::string getHistoName(const DTWireId &wId) const
std::map< DTWireId, double > mK_ref
std::map< std::string, double > theT0LayerMap
edm::ESHandle< DTGeometry > dtGeom
std::map< DTChamberId, int > theCountT0ByChamber
unsigned int eventsForLayerT0
std::map< DTLayerId, double > theTPPeakMap
std::map< DTWireId, double > theSigmaT0PerWire
unsigned int rejectDigiFromPeak
std::map< std::string, double > theSigmaT0LayerMap
~DTT0Calibration() override
Destructor.
std::string theCalibSector
edm::EDGetTokenT< DTDigiCollection > digiToken
void analyze(const edm::Event &event, const edm::EventSetup &eventSetup) override
Fill the maps with t0 (by channel)
std::map< DTWireId, int > nDigiPerWire
std::map< DTWireId, double > mK
std::map< DTWireId, int > nDigiPerWire_ref
const edm::ESGetToken< DTGeometry, MuonGeometryRecord > dtGeomToken_
std::map< DTWireId, double > theRelativeT0PerWire
std::map< DTWireId, double > qK
std::map< DTChamberId, double > theSumT0ByChamber
std::map< DTChamberId, double > theSigmaT0ByChamber
std::map< DTWireId, TH1I > theHistoWireMap
DTT0Calibration(const edm::ParameterSet &pset)
Constructor.
unsigned int eventsForWireT0