CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions
CastorCoder Class Referenceabstract

#include <CastorCoder.h>

Inheritance diagram for CastorCoder:
CastorCoderDb CastorNominalCoder

Public Member Functions

virtual void adc2fC (const CastorDataFrame &df, CaloSamples &lf) const =0
 
virtual void fC2adc (const CaloSamples &clf, CastorDataFrame &df, int fCapIdOffset) const =0
 

Detailed Description

Abstract interface of a coder/decoder which converts ADC values to and from femtocoulombs of collected charge.

Definition at line 13 of file CastorCoder.h.

Member Function Documentation

virtual void CastorCoder::adc2fC ( const CastorDataFrame df,
CaloSamples lf 
) const
pure virtual
virtual void CastorCoder::fC2adc ( const CaloSamples clf,
CastorDataFrame df,
int  fCapIdOffset 
) const
pure virtual

Implemented in CastorCoderDb, and CastorNominalCoder.