#include <SiStripBackPlaneCorrection.h>
Public Member Functions | |
float | getBackPlaneCorrection (const uint32_t &) const |
const std::map< unsigned int, float > & | getBackPlaneCorrections () const |
void | printDebug (std::stringstream &ss, const TrackerTopology *trackerTopo) const |
Prints BackPlaneCorrections for all detIds. More... | |
void | printSummary (std::stringstream &ss, const TrackerTopology *trackerTopo) const |
Prints the mean value of the BackPlaneCorrection divided by subdetector, layer and mono/stereo. More... | |
bool | putBackPlaneCorrection (const uint32_t &, float) |
void | putLorentsAngles (std::map< unsigned int, float > &BPC) |
SiStripBackPlaneCorrection () | |
~SiStripBackPlaneCorrection () | |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Private Attributes | |
std::map< unsigned int, float > | m_BPC |
Friends | |
class | boost::serialization::access |
template<typename CondSerializationT , typename Enabled > | |
struct | cond::serialization::access |
Author: Loic Quertenmont. THis class is adapted from SiStripLorentzAngle Stores the lorentz angle value for all DetIds.
The values are saved internally in a std::map<detid, float backPlaneCorrection>.
It can be filled either by the complete map (putBackPlaneCorrections) or passing a single detIds and lorentzAngles (putBackPlaneCorrection).
In the same way getBackPlaneCorrections returns the complete map, while getBackPlaneCorrection the value corresponding to a given DetId.
The printDebug method prints BackPlaneCorrections for all detIds.
The printSummary mehtod uses the SiStripDetSummary class to produce a summary of BackPlaneCorrection values divided by subdetector and layer/disk.
Definition at line 27 of file SiStripBackPlaneCorrection.h.
|
inline |
Definition at line 29 of file SiStripBackPlaneCorrection.h.
|
inline |
Definition at line 30 of file SiStripBackPlaneCorrection.h.
float SiStripBackPlaneCorrection::getBackPlaneCorrection | ( | const uint32_t & | detid | ) | const |
Definition at line 15 of file SiStripBackPlaneCorrection.cc.
References triggerObjects_cff::id, and m_BPC.
Referenced by SiStripBackPlaneCorrectionDQM::fillMEsForLayer(), and StripCPE::fillParams().
|
inline |
Definition at line 33 of file SiStripBackPlaneCorrection.h.
References m_BPC.
Referenced by SiStripBackplaneCalibration::checkBackPlaneCorrectionInput(), SiStripBackPlaneCorrectionDQM::getActiveDetIds(), SiStripBackplaneCalibration::getBackPlaneCorrectionInput(), printDebug(), printSummary(), and SiStripBackplaneCalibration::writeTree().
void SiStripBackPlaneCorrection::printDebug | ( | std::stringstream & | ss, |
const TrackerTopology * | trackerTopo | ||
) | const |
Prints BackPlaneCorrections for all detIds.
Definition at line 26 of file SiStripBackPlaneCorrection.cc.
References submitPVResolutionJobs::count, getBackPlaneCorrections(), TrackerTopology::moduleGeometry(), and contentValuesCheck::ss.
void SiStripBackPlaneCorrection::printSummary | ( | std::stringstream & | ss, |
const TrackerTopology * | trackerTopo | ||
) | const |
Prints the mean value of the BackPlaneCorrection divided by subdetector, layer and mono/stereo.
Definition at line 39 of file SiStripBackPlaneCorrection.cc.
References getBackPlaneCorrections(), contentValuesCheck::ss, and edmLumisInFiles::summary.
bool SiStripBackPlaneCorrection::putBackPlaneCorrection | ( | const uint32_t & | detid, |
float | value | ||
) |
Definition at line 5 of file SiStripBackPlaneCorrection.cc.
References m_BPC, and relativeConstraints::value.
|
inline |
Definition at line 32 of file SiStripBackPlaneCorrection.h.
References m_BPC.
|
private |
|
friend |
Definition at line 46 of file SiStripBackPlaneCorrection.h.
|
friend |
Definition at line 46 of file SiStripBackPlaneCorrection.h.
|
private |
Definition at line 44 of file SiStripBackPlaneCorrection.h.
Referenced by getBackPlaneCorrection(), getBackPlaneCorrections(), putBackPlaneCorrection(), and putLorentsAngles().