#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 |
Prints BackPlaneCorrections for all detIds. More... | |
void | printSummary (std::stringstream &ss) 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 30 of file SiStripBackPlaneCorrection.h.
|
inline |
Definition at line 31 of file SiStripBackPlaneCorrection.h.
float SiStripBackPlaneCorrection::getBackPlaneCorrection | ( | const uint32_t & | detid | ) | const |
Definition at line 14 of file SiStripBackPlaneCorrection.cc.
References m_BPC.
Referenced by StripCPE::fillParams().
|
inline |
Definition at line 34 of file SiStripBackPlaneCorrection.h.
References m_BPC.
Referenced by SiStripBackplaneCalibration::checkBackPlaneCorrectionInput(), SiStripBackplaneCalibration::endOfJob(), SiStripBackplaneCalibration::getBackPlaneCorrectionInput(), printDebug(), printSummary(), and SiStripBackplaneCalibration::writeTree().
void SiStripBackPlaneCorrection::printDebug | ( | std::stringstream & | ss | ) | const |
Prints BackPlaneCorrections for all detIds.
Definition at line 23 of file SiStripBackPlaneCorrection.cc.
References KineDebug3::count(), getBackPlaneCorrections(), and SiStripDetId::moduleGeometry().
void SiStripBackPlaneCorrection::printSummary | ( | std::stringstream & | ss | ) | const |
Prints the mean value of the BackPlaneCorrection divided by subdetector, layer and mono/stereo.
Definition at line 38 of file SiStripBackPlaneCorrection.cc.
References SiStripDetSummary::add(), getBackPlaneCorrections(), SiStripDetSummary::print(), edmLumisInFiles::summary, and relativeConstraints::value.
bool SiStripBackPlaneCorrection::putBackPlaneCorrection | ( | const uint32_t & | detid, |
float | value | ||
) |
Definition at line 5 of file SiStripBackPlaneCorrection.cc.
References m_BPC, and relativeConstraints::value.
Referenced by SiStripBackplaneCalibration::createFromTree(), SiStripBackPlaneCorrectionGenerator::createObject(), and SiStripBackplaneCalibration::endOfJob().
|
inline |
Definition at line 33 of file SiStripBackPlaneCorrection.h.
References m_BPC.
|
private |
|
friend |
Definition at line 47 of file SiStripBackPlaneCorrection.h.
|
friend |
Definition at line 47 of file SiStripBackPlaneCorrection.h.
|
private |
Definition at line 45 of file SiStripBackPlaneCorrection.h.
Referenced by getBackPlaneCorrection(), getBackPlaneCorrections(), putBackPlaneCorrection(), and putLorentsAngles().