|  | ATLAS Offline Software
    | 
 
 
 
Go to the documentation of this file.
   11 #ifndef LArSamples_DataContainer_H 
   12 #define LArSamples_DataContainer_H 
   38            float pedestal = 0, 
float pedestalRMS = -1,
 
   39        int status = -1, 
float adcMax = -1);
 
   42                     const std::vector<float>& corrs,
 
   45                     float pedestal, 
float pedestalRMS,
 
   57       unsigned int nSamples()
 const { 
return m_samples.size(); }
 
   60       const std::vector<short>& 
samples()
 const { 
return m_samples; }
 
   61       const short& 
sample(
unsigned int i)
 const { 
return m_samples[
i]; }
 
   67       float energy()
 const { 
return m_energy; }
 
   73       float quality()
 const { 
return m_quality; }
 
   80       int status()
 const { 
return m_status; }
 
   83       const std::vector<float>& 
corrs()
 const { 
return m_corrs; }
 
   86       float adcMax()
 const { 
return m_adcMax; }
 
   88       double footprint()
 const { 
return sizeof(*this) + m_samples.size()*
sizeof(
short) + m_corrs.size()*
sizeof(
float); }
 
  
std::vector< short > m_samples
vector of ADC samples
#define ATLAS_NOT_THREAD_SAFE
getNoisyStrip() Find noisy strips from hitmaps and write out into xml/db formats
CaloGain::CaloGain gain() const
const std::vector< short > & samples() const
void setADCMax(float adcMax)
Proxy for accessing a range of float values like a vector.
AccessorTemplate & operator=(AccessorTemplate &&that)
bool isValid(const T &p)
Av: we implement here an ATLAS-sepcific convention: all particles which are 99xxxxx are fine.
unsigned int nSamples() const
float pedestalRMS() const
std::vector< float > m_corrs
noise + correlations in MeV
CaloGain::CaloGain m_gain
gain
const short & sample(unsigned int i) const
def time(flags, cells_name, *args, **kw)
const std::vector< float > & corrs() const
Define macros for attributes used to control the static checker.
void setEventIndex(int index)
void set(unsigned int i, short val)
Proxy for accessing a range of float values like a vector.
thread_local event_number_t eventIndex