1 #ifndef CalibMuon_DTT0Calibration_H 2 #define CalibMuon_DTT0Calibration_H 28 #include "TSpectrum.h" 109 std::map<DTWireId,double>
mK;
111 std::map<DTWireId,double>
qK;
std::vector< DTLayerId > layerIdWithWireHistos
double tpPeakWidthPerLayer
std::map< DTLayerId, TH1I > theHistoLayerMap
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 > theAbsoluteT0PerWire
std::map< DTChamberId, double > theRefT0ByChamber
std::map< DTLayerId, double > theTPPeakMap
std::map< DTWireId, int > nDigiPerWire
std::vector< DTWireId > wireIdWithHistos
std::string theCalibWheel
std::map< DTChamberId, int > theCountT0ByChamber
std::string getHistoName(const DTWireId &wId) const
std::map< DTWireId, double > theSigmaT0PerWire
edm::ESHandle< DTGeometry > dtGeom
std::map< DTWireId, double > mK
unsigned int eventsForLayerT0
unsigned int rejectDigiFromPeak
std::map< DTWireId, double > theRelativeT0PerWire
~DTT0Calibration() override
Destructor.
std::string theCalibSector
std::map< DTWireId, double > qK
std::map< std::string, double > theSigmaT0LayerMap
std::map< std::string, double > theT0LayerMap
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, double > mK_ref
std::map< DTWireId, TH1I > theHistoWireMap
std::map< DTChamberId, double > theSumT0ByChamber
DTT0Calibration(const edm::ParameterSet &pset)
Constructor.
unsigned int eventsForWireT0
std::map< DTChamberId, double > theMeanT0ByChamber
std::map< DTWireId, int > nDigiPerWire_ref
std::map< DTChamberId, double > theSigmaT0ByChamber