#include <SiStripLorentzAngle.h>
Public Member Functions | |
const 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 Attributes | |
std::map< unsigned int, float > | m_LA |
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 24 of file SiStripLorentzAngle.h.
|
inline |
Definition at line 27 of file SiStripLorentzAngle.h.
|
inline |
Definition at line 28 of file SiStripLorentzAngle.h.
const float & SiStripLorentzAngle::getLorentzAngle | ( | const uint32_t & | detid | ) | const |
Definition at line 14 of file SiStripLorentzAngle.cc.
References m_LA.
Referenced by shallow::drift(), and StripCPE::driftDirection().
|
inline |
Definition at line 31 of file SiStripLorentzAngle.h.
References m_LA.
Referenced by printDebug(), and printSummary().
void SiStripLorentzAngle::printDebug | ( | std::stringstream & | ss | ) | const |
Prints LorentzAngles for all detIds.
Definition at line 24 of file SiStripLorentzAngle.cc.
References prof2calltree::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 37 of file SiStripLorentzAngle.cc.
References SiStripDetSummary::add(), cond::rpcobgas::detid, 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 cond::rpcobgas::detid, m_LA, and relativeConstraints::value.
Referenced by SiStripLorentzAngleGenerator::createObject(), and SiStripCalibLorentzAngle::getNewObject().
|
private |
Definition at line 42 of file SiStripLorentzAngle.h.
Referenced by getLorentzAngle(), getLorentzAngles(), putLorentsAngles(), and putLorentzAngle().