Go to the documentation of this file. 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
std::map< std::string, double > theSigmaT0LayerMap
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< DTWireId, double > theSigmaT0PerWire
std::string theCalibWheel
std::map< DTWireId, double > mK
double tpPeakWidthPerLayer
std::map< DTWireId, double > theRelativeT0PerWire
void analyze(const edm::Event &event, const edm::EventSetup &eventSetup) override
Fill the maps with t0 (by channel)
std::map< std::string, double > theT0LayerMap
std::map< DTChamberId, double > theSigmaT0ByChamber
std::map< DTLayerId, TH1I > theHistoLayerMap
std::map< DTWireId, double > theAbsoluteT0PerWire
std::map< DTWireId, TH1I > theHistoWireMap
std::map< DTChamberId, double > theRefT0ByChamber
std::map< DTWireId, int > nDigiPerWire
unsigned int eventsForWireT0
std::string getHistoName(const DTWireId &wId) const
~DTT0Calibration() override
Destructor.
std::map< DTWireId, double > qK
edm::ESHandle< DTGeometry > dtGeom
DTT0Calibration(const edm::ParameterSet &pset)
Constructor.
unsigned int eventsForLayerT0
edm::EDGetTokenT< DTDigiCollection > digiToken
std::map< DTChamberId, int > theCountT0ByChamber
std::map< DTWireId, double > mK_ref
std::map< DTChamberId, double > theSumT0ByChamber
std::map< DTLayerId, double > theTPPeakMap
std::map< DTWireId, int > nDigiPerWire_ref
std::string theCalibSector
std::map< DTChamberId, double > theMeanT0ByChamber
std::vector< DTWireId > wireIdWithHistos
unsigned int rejectDigiFromPeak