#include <SiStripLorentzAngle.h>
Public Member Functions | |
float | getLorentzAngle (const uint32_t &) const |
const std::map< unsigned int, float > & | getLorentzAngles () const |
void | printDebug (std::stringstream &ss) const |
Prints LorentzAngles for all detIds. More... | |
void | printSummary (std::stringstream &ss) const |
Prints the mean value of the LorentzAngle divided by subdetector, layer and mono/stereo. More... | |
void | putLorentsAngles (std::map< unsigned int, float > &LA) |
bool | putLorentzAngle (const uint32_t &, float) |
SiStripLorentzAngle () | |
~SiStripLorentzAngle () | |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Private Attributes | |
std::map< unsigned int, float > | m_LA |
Friends | |
class | boost::serialization::access |
template<typename CondSerializationT , typename Enabled > | |
struct | cond::serialization::access |
Stores the lorentz angle value for all DetIds.
The values are saved internally in a std::map<detid, lorentzAngle>.
It can be filled either by the complete map (putLorentzAngles) or passing a single detIds and lorentzAngles (putLorentzAngle).
In the same way getLorentzAngles returns the complete map, while getLorentzAngle the value corresponding to a given DetId.
The printDebug method prints LorentzAngles for all detIds.
The printSummary mehtod uses the SiStripDetSummary class to produce a summary of LorentzAngle values divided by subdetector and layer/disk.
Definition at line 26 of file SiStripLorentzAngle.h.
|
inline |
Definition at line 29 of file SiStripLorentzAngle.h.
|
inline |
Definition at line 30 of file SiStripLorentzAngle.h.
float SiStripLorentzAngle::getLorentzAngle | ( | const uint32_t & | detid | ) | const |
Definition at line 14 of file SiStripLorentzAngle.cc.
References m_LA.
Referenced by shallow::drift(), StripCPE::driftDirection(), and ApeEstimator::fillHitVariables().
|
inline |
Definition at line 33 of file SiStripLorentzAngle.h.
References m_LA.
Referenced by SiStripLorentzAngleCalibration::checkLorentzAngleInput(), SiStripLorentzAngleCalibration::endOfJob(), SiStripLorentzAngleCalibration::getLorentzAnglesInput(), printDebug(), printSummary(), and SiStripLorentzAngleCalibration::writeTree().
void SiStripLorentzAngle::printDebug | ( | std::stringstream & | ss | ) | const |
Prints LorentzAngles for all detIds.
Definition at line 23 of file SiStripLorentzAngle.cc.
References KineDebug3::count(), and getLorentzAngles().
void SiStripLorentzAngle::printSummary | ( | std::stringstream & | ss | ) | const |
Prints the mean value of the LorentzAngle divided by subdetector, layer and mono/stereo.
Definition at line 36 of file SiStripLorentzAngle.cc.
References SiStripDetSummary::add(), getLorentzAngles(), SiStripDetSummary::print(), edmLumisInFiles::summary, and relativeConstraints::value.
|
inline |
bool SiStripLorentzAngle::putLorentzAngle | ( | const uint32_t & | detid, |
float | value | ||
) |
Definition at line 5 of file SiStripLorentzAngle.cc.
References m_LA, and relativeConstraints::value.
Referenced by SiStripLorentzAngleCalibration::createFromTree(), SiStripLorentzAngleGenerator::createObject(), SiStripLorentzAngleCalibration::endOfJob(), and SiStripCalibLorentzAngle::getNewObject().
|
private |
|
friend |
Definition at line 46 of file SiStripLorentzAngle.h.
|
friend |
Definition at line 46 of file SiStripLorentzAngle.h.
|
private |
Definition at line 44 of file SiStripLorentzAngle.h.
Referenced by getLorentzAngle(), getLorentzAngles(), putLorentsAngles(), and putLorentzAngle().