6 std::map<unsigned int,float>::const_iterator
id=
m_BPC.find(detid);
8 edm::LogError(
"SiStripBackPlaneCorrection") <<
"SiStripBackPlaneCorrection for DetID " << detid <<
" is already stored. Skippig this put" << std::endl;
15 std::map<unsigned int,float>::const_iterator
id=
m_BPC.find(detid);
16 if(
id!=
m_BPC.end())
return id->second;
18 edm::LogError(
"SiStripBackPlaneCorrection") <<
"SiStripBackPlaneCorrection for DetID " << detid <<
" is not stored" << std::endl;
26 std::map<unsigned int,float>::const_iterator it;
28 ss <<
"SiStripBackPlaneCorrectionReader:" << std::endl;
29 ss <<
"detid \t Geometry \t Back Plane Corrections" << std::endl;
30 for( it=detid_la.begin(); it!=detid_la.end(); ++it ) {
31 ss << it->first <<
"\t" << trackerTopo->
moduleGeometry(it->first) <<
"\t" << it->second << std::endl;
39 std::map<unsigned int,float>::const_iterator it;
43 for( it=detid_la.begin(); it!=detid_la.end(); ++it ) {
44 DetId detid(it->first);
45 float value = it->second;
48 ss <<
"Summary of BackPlane corrections:" << std::endl;
bool putBackPlaneCorrection(const uint32_t &, float)
SiStripDetId::ModuleGeometry moduleGeometry(const DetId &id) const
const std::map< unsigned int, float > & getBackPlaneCorrections() const
void printDebug(std::stringstream &ss, const TrackerTopology *trackerTopo) const
Prints BackPlaneCorrections for all detIds.
float getBackPlaneCorrection(const uint32_t &) const
std::map< unsigned int, float > m_BPC
void printSummary(std::stringstream &ss, const TrackerTopology *trackerTopo) const
Prints the mean value of the BackPlaneCorrection divided by subdetector, layer and mono/stereo...