CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
HcalTDC.h
Go to the documentation of this file.
1 // -*- mode: c++ -*-
2 #ifndef HcalSimAlgos_HcalTDC_h
3 #define HcalSimAlgos_HcalTDC_h
4 
10 
11 class HcalDbService;
12 
13 namespace CLHEP {
14  class HepRandomEngine;
15 }
16 
17 class HcalTDC {
18 public:
19  HcalTDC(double threshold_currentTDC = 0.);
20  ~HcalTDC();
21 
24  void timing(const CaloSamples& lf, QIE11DataFrame& digi) const;
25 
27  void setDbService(const HcalDbService* service);
28 
29  void setThresholdDAC(unsigned int DAC) { theDAC = DAC; }
30  unsigned int getThresholdDAC() { return theDAC; }
31  double getThreshold() const { return threshold_currentTDC_; };
32 
33 private:
36 
37  unsigned int theDAC;
39  double const lsb;
40 };
41 
42 #endif
service
Definition: service.py:1
CaloSamples.h
hcalSimParameters_cfi.threshold_currentTDC
threshold_currentTDC
Definition: hcalSimParameters_cfi.py:24
HcalTDC::lsb
const double lsb
Definition: HcalTDC.h:39
HcalGenericDetId.h
HcalTDCParameters
Definition: HcalTDCParameters.h:4
HcalTDC::getThresholdDAC
unsigned int getThresholdDAC()
Definition: HcalTDC.h:30
HcalTDC::setThresholdDAC
void setThresholdDAC(unsigned int DAC)
Definition: HcalTDC.h:29
CLHEP
Definition: CocoaGlobals.h:27
HcalTDC::~HcalTDC
~HcalTDC()
Definition: HcalTDC.cc:10
HcalDetId.h
HcalTDC
Definition: HcalTDC.h:17
HcalTDCParameters.h
CaloSamples
Definition: CaloSamples.h:14
HcalTDC::theDAC
unsigned int theDAC
Definition: HcalTDC.h:37
HcalTDC::theTDCParameters
HcalTDCParameters theTDCParameters
Definition: HcalTDC.h:31
HcalTDC::theDbService
const HcalDbService * theDbService
Definition: HcalTDC.h:35
HcalDbService
Definition: HcalDbService.h:23
QIE11DataFrame
Definition: QIE11DataFrame.h:11
QIE11DataFrame.h
HcalTDC::timing
void timing(const CaloSamples &lf, QIE11DataFrame &digi) const
Definition: HcalTDC.cc:13
HcalTDC::threshold_currentTDC_
double threshold_currentTDC_
Definition: HcalTDC.h:38
HcalTDC::getThreshold
double getThreshold() const
Definition: HcalTDC.h:31
HcalTDC::setDbService
void setDbService(const HcalDbService *service)
the Producer will probably update this every event
Definition: HcalTDC.cc:74
HcalTDC::HcalTDC
HcalTDC(double threshold_currentTDC=0.)
Definition: HcalTDC.cc:7