6 std::map<unsigned int, float>::const_iterator
id =
m_LA.find(detid);
7 if (
id !=
m_LA.end()) {
8 edm::LogError(
"SiStripLorentzAngle") <<
"SiStripLorentzAngle for DetID " << detid
9 <<
" is already stored. Skipping this put" << std::endl;
16 std::map<unsigned int, float>::const_iterator
id =
m_LA.find(detid);
20 edm::LogError(
"SiStripLorentzAngle") <<
"SiStripLorentzAngle for DetID " << detid <<
" is not stored" << std::endl;
27 std::map<unsigned int, float>::const_iterator
it;
28 ss <<
"SiStripLorentzAngleReader:" << std::endl;
29 ss <<
"detid \t Lorentz angle" << std::endl;
30 for (
it = detid_la.begin();
it != detid_la.end(); ++
it) {
31 ss <<
it->first <<
"\t" <<
it->second << std::endl;
37 std::map<unsigned int, float>::const_iterator
it;
41 for (
it = detid_la.begin();
it != detid_la.end(); ++
it) {
46 ss <<
"Summary of lorentz angles:" << std::endl;
std::map< unsigned int, float > m_LA
void printSummary(std::stringstream &ss, const TrackerTopology *trackerTopo) const
Prints the mean value of the LorentzAngle divided by subdetector, layer and mono/stereo.
Log< level::Error, false > LogError
bool putLorentzAngle(const uint32_t &, float)
float getLorentzAngle(const uint32_t &) const
const std::map< unsigned int, float > & getLorentzAngles() const
void printDebug(std::stringstream &ss, const TrackerTopology *trackerTopo) const
Prints LorentzAngles for all detIds.