CMS 3D CMS Logo

Public Types | Public Member Functions | Private Attributes

ApvAnalysis Class Reference

#include <ApvAnalysis.h>

List of all members.

Public Types

typedef std::vector< float > PedestalType
typedef edm::DetSet
< SiStripRawDigi
RawSignalType

Public Member Functions

 ApvAnalysis (int nev)
TkCommonModeCalculatorcommonModeCalculator ()
TkApvMaskmask ()
void newEvent () const
TkNoiseCalculatornoiseCalculator ()
TkPedestalCalculatorpedestalCalculator ()
void setCommonModeCalculator (TkCommonModeCalculator &in)
void setMask (TkApvMask &in)
void setNoiseCalculator (TkNoiseCalculator &in)
void setPedestalCalculator (TkPedestalCalculator &in)
void updateCalibration (edm::DetSet< SiStripRawDigi > &in)
 ~ApvAnalysis ()

Private Attributes

int eventsRequiredToUpdate_
int nEventsForNoiseCalibration_
TkApvMasktheTkApvMask
TkCommonModeCalculatortheTkCommonModeCalculator
TkNoiseCalculatortheTkNoiseCalculator
TkPedestalCalculatortheTkPedestalCalculator

Detailed Description

ApvAnalysis is the base class for the simulation of APV/FED. Each instance has

Definition at line 41 of file ApvAnalysis.h.


Member Typedef Documentation

typedef std::vector<float> ApvAnalysis::PedestalType

Definition at line 48 of file ApvAnalysis.h.

Definition at line 47 of file ApvAnalysis.h.


Constructor & Destructor Documentation

ApvAnalysis::ApvAnalysis ( int  nev)
ApvAnalysis::~ApvAnalysis ( ) [inline]

Definition at line 51 of file ApvAnalysis.h.

{;}

Member Function Documentation

TkCommonModeCalculator& ApvAnalysis::commonModeCalculator ( ) [inline]

Definition at line 62 of file ApvAnalysis.h.

References theTkCommonModeCalculator.

Referenced by ApvAnalysisFactory::deleteApv().

TkApvMask& ApvAnalysis::mask ( ) [inline]

Definition at line 65 of file ApvAnalysis.h.

References theTkApvMask.

Referenced by ApvAnalysisFactory::deleteApv().

{return *theTkApvMask;}
void ApvAnalysis::newEvent ( ) const
TkNoiseCalculator& ApvAnalysis::noiseCalculator ( ) [inline]

Definition at line 64 of file ApvAnalysis.h.

References theTkNoiseCalculator.

Referenced by ApvAnalysisFactory::deleteApv().

TkPedestalCalculator& ApvAnalysis::pedestalCalculator ( ) [inline]

Definition at line 63 of file ApvAnalysis.h.

References theTkPedestalCalculator.

Referenced by ApvAnalysisFactory::deleteApv().

void ApvAnalysis::setCommonModeCalculator ( TkCommonModeCalculator in) [inline]
void ApvAnalysis::setMask ( TkApvMask in) [inline]

Definition at line 60 of file ApvAnalysis.h.

References recoMuon::in, and theTkApvMask.

Referenced by ApvAnalysisFactory::constructAuxiliaryApvClasses().

void ApvAnalysis::setNoiseCalculator ( TkNoiseCalculator in) [inline]
void ApvAnalysis::setPedestalCalculator ( TkPedestalCalculator in) [inline]
void ApvAnalysis::updateCalibration ( edm::DetSet< SiStripRawDigi > &  in)

Update pedestals & noise with current event

Definition at line 28 of file ApvAnalysis.cc.

References edm::DetSet< T >::data, i, and tmp.


Member Data Documentation

Definition at line 83 of file ApvAnalysis.h.

Definition at line 82 of file ApvAnalysis.h.

Definition at line 81 of file ApvAnalysis.h.

Referenced by mask(), and setMask().

Definition at line 78 of file ApvAnalysis.h.

Referenced by commonModeCalculator(), and setCommonModeCalculator().

Definition at line 80 of file ApvAnalysis.h.

Referenced by noiseCalculator(), and setNoiseCalculator().

Definition at line 79 of file ApvAnalysis.h.

Referenced by pedestalCalculator(), and setPedestalCalculator().