|
LDMX Software
|
Per-channel tracker pedestal conditions: the per-sample pedestal mean and RMS noise for every silicon-strip readout channel. More...
#include <TrackerPedestals.h>
Classes | |
| struct | Channel |
| Per-channel pedestal mean and RMS noise for the three APV25 samples. More... | |
Public Member Functions | |
| void | add (uint8_t feb, uint8_t hybrid, uint8_t apv, uint8_t channel, const Channel &ped) |
| Insert the pedestal for one electronics channel. | |
| const Channel * | find (uint8_t feb, uint8_t hybrid, uint8_t apv, uint8_t channel) const |
| Look up a channel; returns nullptr if the channel is not in the table. | |
| float | noise (uint8_t feb, uint8_t hybrid, uint8_t apv, uint8_t channel) const |
| Scalar per-channel noise (mean of the three per-sample noises); 0 if the channel is absent. | |
| std::size_t | size () const |
| Number of channels in the table. | |
Public Member Functions inherited from framework::ConditionsObject | |
| ConditionsObject (const std::string &name) | |
| Class constructor. | |
| virtual | ~ConditionsObject () |
| Destructor. | |
| std::string | getName () const |
| Get the name of this object. | |
Static Public Attributes | |
| static const std::string | CONDITIONS_NAME = "TrackerPedestals" |
| Name of the conditions object (must match the python registration). | |
Private Attributes | |
| std::unordered_map< uint32_t, Channel > | channels_ |
Per-channel tracker pedestal conditions: the per-sample pedestal mean and RMS noise for every silicon-strip readout channel.
This is a conditions object (a service), not event data: pedestals and noise are calibration constants delivered on demand via getCondition<>(), the same way Ecal/Hcal deliver their HGCROC pedestals/gains. Consumers (PedestalSubtractor, SiStripWaveformBuilder, ...) look up values by electronics address; nothing is persisted into the hit objects.
The object is filled by TrackerPedestalProvider, which reads the pedestal file produced by PedestalCalculator.
Definition at line 28 of file TrackerPedestals.h.
|
inline |
Definition at line 39 of file TrackerPedestals.h.
|
inline |
Insert the pedestal for one electronics channel.
Definition at line 42 of file TrackerPedestals.h.
References tracking::reco::channelmap::channelId().
|
inline |
Look up a channel; returns nullptr if the channel is not in the table.
Definition at line 48 of file TrackerPedestals.h.
References tracking::reco::channelmap::channelId().
Referenced by noise().
|
inline |
Scalar per-channel noise (mean of the three per-sample noises); 0 if the channel is absent.
Definition at line 56 of file TrackerPedestals.h.
References find().
|
inline |
Number of channels in the table.
Definition at line 65 of file TrackerPedestals.h.
|
private |
Definition at line 68 of file TrackerPedestals.h.
|
static |
Name of the conditions object (must match the python registration).
Definition at line 31 of file TrackerPedestals.h.
Referenced by tracking::reco::PedestalSubtractor::produce(), and tracking::reco::SiStripWaveformBuilder::produce().