CMS 3D CMS Logo

Public Member Functions

HcalNominalCoder Class Reference

#include <HcalNominalCoder.h>

Inheritance diagram for HcalNominalCoder:
HcalCoder

List of all members.

Public Member Functions

virtual void adc2fC (const HBHEDataFrame &df, CaloSamples &lf) const
virtual void adc2fC (const HODataFrame &df, CaloSamples &lf) const
virtual void adc2fC (const ZDCDataFrame &df, CaloSamples &lf) const
virtual void adc2fC (const HcalCalibDataFrame &df, CaloSamples &lf) const
virtual void adc2fC (const HFDataFrame &df, CaloSamples &lf) const
virtual void fC2adc (const CaloSamples &clf, HBHEDataFrame &df, int fCapIdOffset) const
virtual void fC2adc (const CaloSamples &clf, ZDCDataFrame &df, int fCapIdOffset) const
virtual void fC2adc (const CaloSamples &clf, HcalCalibDataFrame &df, int fCapIdOffset) const
virtual void fC2adc (const CaloSamples &clf, HFDataFrame &df, int fCapIdOffset) const
virtual void fC2adc (const CaloSamples &clf, HODataFrame &df, int fCapIdOffset) const

Detailed Description

Simple coder which uses the QIESample to convert to fC

Date:
2006/09/25 21:59:23
Revision:
1.4

Definition at line 13 of file HcalNominalCoder.h.


Member Function Documentation

void HcalNominalCoder::adc2fC ( const HBHEDataFrame df,
CaloSamples lf 
) const [virtual]

Implements HcalCoder.

Definition at line 3 of file HcalNominalCoder.cc.

References i, HBHEDataFrame::id(), HBHEDataFrame::presamples(), CaloSamples::setPresamples(), and HBHEDataFrame::size().

                                                                            {
  lf=CaloSamples(df.id(),df.size());
  for (int i=0; i<df.size(); i++) lf[i]=df[i].nominal_fC();
  lf.setPresamples(df.presamples());
}
void HcalNominalCoder::adc2fC ( const HODataFrame df,
CaloSamples lf 
) const [virtual]

Implements HcalCoder.

Definition at line 8 of file HcalNominalCoder.cc.

References i, HODataFrame::id(), HODataFrame::presamples(), CaloSamples::setPresamples(), and HODataFrame::size().

                                                                          {
  lf=CaloSamples(df.id(),df.size());
  for (int i=0; i<df.size(); i++) lf[i]=df[i].nominal_fC();
  lf.setPresamples(df.presamples());
}
void HcalNominalCoder::adc2fC ( const ZDCDataFrame df,
CaloSamples lf 
) const [virtual]

Implements HcalCoder.

Definition at line 18 of file HcalNominalCoder.cc.

References i, ZDCDataFrame::id(), ZDCDataFrame::presamples(), CaloSamples::setPresamples(), and ZDCDataFrame::size().

                                                                           {
  lf=CaloSamples(df.id(),df.size());
  for (int i=0; i<df.size(); i++) lf[i]=df[i].nominal_fC();
  lf.setPresamples(df.presamples());
}
void HcalNominalCoder::adc2fC ( const HcalCalibDataFrame df,
CaloSamples lf 
) const [virtual]

Implements HcalCoder.

Definition at line 23 of file HcalNominalCoder.cc.

References i, HcalCalibDataFrame::id(), HcalCalibDataFrame::presamples(), CaloSamples::setPresamples(), and HcalCalibDataFrame::size().

                                                                                 {
  lf=CaloSamples(df.id(),df.size());
  for (int i=0; i<df.size(); i++) lf[i]=df[i].nominal_fC();
  lf.setPresamples(df.presamples());
}
void HcalNominalCoder::adc2fC ( const HFDataFrame df,
CaloSamples lf 
) const [virtual]

Implements HcalCoder.

Definition at line 13 of file HcalNominalCoder.cc.

References i, HFDataFrame::id(), HFDataFrame::presamples(), CaloSamples::setPresamples(), and HFDataFrame::size().

                                                                          {
  lf=CaloSamples(df.id(),df.size());
  for (int i=0; i<df.size(); i++) lf[i]=df[i].nominal_fC();
  lf.setPresamples(df.presamples());
}
void HcalNominalCoder::fC2adc ( const CaloSamples clf,
HBHEDataFrame df,
int  fCapIdOffset 
) const [virtual]

Implements HcalCoder.

Definition at line 48 of file HcalNominalCoder.cc.

References LaserDQM_cfg::process.

                                                                                               {
  HcalNominalCoderTemplate::process(clf,df, fCapIdOffset);
}
void HcalNominalCoder::fC2adc ( const CaloSamples clf,
ZDCDataFrame df,
int  fCapIdOffset 
) const [virtual]

Implements HcalCoder.

Definition at line 57 of file HcalNominalCoder.cc.

References LaserDQM_cfg::process.

                                                                                              {
  HcalNominalCoderTemplate::process(clf,df, fCapIdOffset);
}
void HcalNominalCoder::fC2adc ( const CaloSamples clf,
HcalCalibDataFrame df,
int  fCapIdOffset 
) const [virtual]

Implements HcalCoder.

Definition at line 60 of file HcalNominalCoder.cc.

References LaserDQM_cfg::process.

                                                                                                    {
  HcalNominalCoderTemplate::process(clf,df, fCapIdOffset);
}
void HcalNominalCoder::fC2adc ( const CaloSamples clf,
HFDataFrame df,
int  fCapIdOffset 
) const [virtual]

Implements HcalCoder.

Definition at line 51 of file HcalNominalCoder.cc.

References LaserDQM_cfg::process.

                                                                                             {
  HcalNominalCoderTemplate::process(clf,df, fCapIdOffset);
}
void HcalNominalCoder::fC2adc ( const CaloSamples clf,
HODataFrame df,
int  fCapIdOffset 
) const [virtual]

Implements HcalCoder.

Definition at line 54 of file HcalNominalCoder.cc.

References LaserDQM_cfg::process.

                                                                                             {
  HcalNominalCoderTemplate::process(clf,df, fCapIdOffset);
}