Operations.
50 const DTTtrig *DTTtrigRefMap = &*tTrig_Ref;
55 const DTTtrig *DTTtrigMap = &*tTrig;
69 DTSuperLayerId slId((*it).first.wheelId, (*it).first.stationId, (*it).first.sectorId, (*it).first.slId);
74 float tTrigCorr = tTrigMean + kFactor * tTrigRms;
76 <<
" Ttrig mean (ns): " << tTrigMean <<
" Ttrig rms (ns): " << tTrigRms
77 <<
" Ttrig k-Factor: " << kFactor <<
" Ttrig value (ns): " << tTrigCorr;
80 tTrigRefMap_[slId] = pair<float, float>(tTrigCorr, tTrigRms);
85 DTSuperLayerId slId((*it).first.wheelId, (*it).first.stationId, (*it).first.sectorId, (*it).first.slId);
90 float tTrigCorr = tTrigMean + kFactor * tTrigRms;
92 <<
" Ttrig mean (ns): " << tTrigMean <<
" Ttrig rms (ns): " << tTrigRms
93 <<
" Ttrig k-Factor: " << kFactor <<
" Ttrig value (ns): " << tTrigCorr;
96 tTrigMap_[slId] = pair<float, float>(tTrigCorr, tTrigRms);
105 float difference =
tTrigMap_[(*it).first].first - (*it).second.first;
108 int wheel = (*it).first.chamberId().wheel();
109 int sector = (*it).first.chamberId().sector();
113 LogTrace(
metname_) <<
"Filling histos for super-layer: " << (*it).first <<
" difference: " << difference;
117 int station = (*it).first.chamberId().station();
127 int slBin = entry + (*it).first.superLayer();
131 tTrigDiffHistos_[make_pair(wheel, sector)]->setBinContent(slBin, difference);
const std::string & version() const
access version
def setup(process, global_tag, zero_tesla=False)
std::map< std::pair< int, int >, MonitorElement * > tTrigDiffHistos_
std::vector< std::pair< DTTtrigId, DTTtrigData > >::const_iterator const_iterator
Access methods to data.
std::map< DTSuperLayerId, std::pair< float, float > > tTrigRefMap_
void setCurrentFolder(std::string const &fullpath)
edm::ESHandle< DTGeometry > dtGeom_
Abs< T >::type abs(const T &t)
int get(int wheelId, int stationId, int sectorId, int slId, float &tTrig, float &tTrms, float &kFact, DTTimeUnits::type unit) const
get content
std::map< int, MonitorElement * > tTrigDiffWheel_
void bookHistos(DQMStore::IBooker &, int, int)
std::map< DTSuperLayerId, std::pair< float, float > > tTrigMap_
const_iterator begin() const
const_iterator end() const