#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 TrackerTopology *trackerTopo) const |
Prints LorentzAngles for all detIds. More... | |
void | printSummary (std::stringstream &ss, const TrackerTopology *trackerTopo) 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 28 of file SiStripLorentzAngle.h.
|
inline |
Definition at line 29 of file SiStripLorentzAngle.h.
float SiStripLorentzAngle::getLorentzAngle | ( | const uint32_t & | detid | ) | const |
Definition at line 15 of file SiStripLorentzAngle.cc.
References triggerObjects_cff::id, and m_LA.
Referenced by SiStripDigitizerAlgorithm::accumulateSimHits(), SiStripBackplaneCalibration::derivatives(), shallow::drift(), StripCPE::driftDirection(), ApeEstimator::fillHitVariables(), SiStripLorentzAngleDQM::fillMEsForLayer(), and ClusterShapeHitFilter::getDrift().
|
inline |
Definition at line 32 of file SiStripLorentzAngle.h.
References m_LA.
Referenced by SiStripLorentzAngleCalibration::beginRun(), SiStripLorentzAngleDQM::getActiveDetIds(), SiStripLorentzAngleCalibration::getLorentzAnglesInput(), printDebug(), printSummary(), and SiStripLorentzAngleCalibration::writeTree().
void SiStripLorentzAngle::printDebug | ( | std::stringstream & | ss, |
const TrackerTopology * | trackerTopo | ||
) | const |
Prints LorentzAngles for all detIds.
Definition at line 25 of file SiStripLorentzAngle.cc.
References submitPVResolutionJobs::count, getLorentzAngles(), and contentValuesCheck::ss.
void SiStripLorentzAngle::printSummary | ( | std::stringstream & | ss, |
const TrackerTopology * | trackerTopo | ||
) | const |
Prints the mean value of the LorentzAngle divided by subdetector, layer and mono/stereo.
Definition at line 37 of file SiStripLorentzAngle.cc.
References getLorentzAngles(), contentValuesCheck::ss, and edmLumisInFiles::summary.
|
inline |
bool SiStripLorentzAngle::putLorentzAngle | ( | const uint32_t & | detid, |
float | value | ||
) |
Definition at line 5 of file SiStripLorentzAngle.cc.
References m_LA, and relativeConstraints::value.
|
private |
|
friend |
Definition at line 45 of file SiStripLorentzAngle.h.
|
friend |
Definition at line 45 of file SiStripLorentzAngle.h.
|
private |
Definition at line 43 of file SiStripLorentzAngle.h.
Referenced by getLorentzAngle(), getLorentzAngles(), putLorentsAngles(), and putLorentzAngle().