CMS 3D CMS Logo

EcalDataFrame Class Reference

Id
EcalDataFrame.h,v 1.7 2007/08/10 06:42:10 innocent Exp
More...

#include <DataFormats/EcalDigi/interface/EcalDataFrame.h>

Inheritance diagram for EcalDataFrame:

EBDataFrame EEDataFrame

List of all members.

Public Member Functions

 EcalDataFrame (edm::DataFrame const &iframe)
 EcalDataFrame ()
edm::DataFrameframe ()
edm::DataFrame const & frame () const
DetId id () const
EcalMGPASample operator[] (int i) const
EcalMGPASample sample (int i) const
void setSample (int i, EcalMGPASample sam)
void setSize (int)
int size () const
virtual ~EcalDataFrame ()

Static Public Attributes

static const int MAXSAMPLES = 10

Private Attributes

edm::DataFrame m_data


Detailed Description

Id
EcalDataFrame.h,v 1.7 2007/08/10 06:42:10 innocent Exp

Definition at line 15 of file EcalDataFrame.h.


Constructor & Destructor Documentation

EcalDataFrame::EcalDataFrame (  )  [inline]

Definition at line 17 of file EcalDataFrame.h.

00017 {}

EcalDataFrame::EcalDataFrame ( edm::DataFrame const &  iframe  )  [inline]

Definition at line 19 of file EcalDataFrame.h.

00019 : m_data(iframe){} 

virtual EcalDataFrame::~EcalDataFrame (  )  [inline, virtual]

Definition at line 21 of file EcalDataFrame.h.

00021 {} 


Member Function Documentation

edm::DataFrame& EcalDataFrame::frame (  )  [inline]

Definition at line 38 of file EcalDataFrame.h.

References m_data.

00038 { return m_data;}

edm::DataFrame const& EcalDataFrame::frame (  )  const [inline]

Definition at line 37 of file EcalDataFrame.h.

References m_data.

Referenced by EcalTBReadout::readOut().

00037 { return m_data;}

DetId EcalDataFrame::id ( void   )  const [inline]

Reimplemented in EBDataFrame, and EEDataFrame.

Definition at line 23 of file EcalDataFrame.h.

References edm::DataFrame::id(), and m_data.

00023 { return m_data.id();}

EcalMGPASample EcalDataFrame::operator[] ( int  i  )  const [inline]

Definition at line 27 of file EcalDataFrame.h.

References m_data.

00027 { return m_data[i];}

EcalMGPASample EcalDataFrame::sample ( int  i  )  const [inline]

Definition at line 28 of file EcalDataFrame.h.

References m_data.

Referenced by EELedTask::analyze(), EBLaserTask::analyze(), EBTestPulseTask::analyze(), EELaserTask::analyze(), EBBeamCaloTask::analyze(), EcalSimpleTBAnalyzer::analyze(), EcalCorrelatedNoisePedestalRunAnalyzer::analyze(), EBPedestalOnlineTask::analyze(), EEBeamCaloTask::analyze(), EEPedestalOnlineTask::analyze(), EBPedestalTask::analyze(), EETestPulseTask::analyze(), EcalTBValidation::analyze(), EEPedestalTask::analyze(), testChannel::analyze(), TowerBlockFormatter::DigiToRaw(), operator<<(), EcalTBWeightUncalibRecHitProducer::produce(), EcalDigiDisplay::readEBDigis(), and EcalDigiDisplay::readEEDigis().

00028 { return m_data[i]; }

void EcalDataFrame::setSample ( int  i,
EcalMGPASample  sam 
) [inline]

Definition at line 33 of file EcalDataFrame.h.

References m_data.

Referenced by EcalCoder::encode().

00033 { m_data[i]=sam; }

void EcalDataFrame::setSize ( int   )  [inline]

Definition at line 31 of file EcalDataFrame.h.

Referenced by EcalCoder::analogToDigital().

00031 {}

int EcalDataFrame::size ( void   )  const [inline]

Definition at line 25 of file EcalDataFrame.h.

References m_data, and edm::DataFrame::size().

Referenced by EcalTPInputAnalyzer::analyze(), EcalSimpleTBAnalyzer::analyze(), EcalDigisValidation::analyze(), EcalEndcapDigisValidation::analyze(), EcalBarrelDigisValidation::analyze(), EcalTBValidation::analyze(), EcalMixingModuleValidation::analyze(), EcalCoder::digitalToAnalog(), TowerBlockFormatter::DigiToRaw(), GlobalDigisAnalyzer::fillECal(), GlobalDigisProducer::fillECal(), operator<<(), and EcalTBWeightUncalibRecHitProducer::produce().

00025 { return m_data.size();}


Member Data Documentation

edm::DataFrame EcalDataFrame::m_data [private]

Definition at line 42 of file EcalDataFrame.h.

Referenced by frame(), id(), operator[](), sample(), setSample(), and size().

const int EcalDataFrame::MAXSAMPLES = 10 [static]

Definition at line 35 of file EcalDataFrame.h.

Referenced by EcalDigisValidation::analyze(), EcalEndcapDigisValidation::analyze(), EcalBarrelDigisValidation::analyze(), testChannel::analyze(), EcalMixingModuleValidation::analyze(), EcalMixingModuleValidation::endJob(), GlobalDigisAnalyzer::fillECal(), GlobalDigisProducer::fillECal(), and EcalPedOffset::readDACs().


The documentation for this class was generated from the following file:
Generated on Tue Jun 9 18:19:28 2009 for CMSSW by  doxygen 1.5.4