CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EcalTBDigiProducer.h
Go to the documentation of this file.
1 #ifndef ECALTBDIGIPRODUCER_H
2 #define ECALTBDIGIPRODUCER_H
3 
16 //TB#include "SimCalorimetry/EcalSimAlgos/interface/ESShape.h"
20 //TB#include "SimCalorimetry/EcalSimAlgos/interface/ESElectronicsSimFast.h"
21 //TB#include "SimCalorimetry/EcalSimAlgos/interface/ESElectronicsSim.h"
23 //TB#include "SimCalorimetry/EcalSimAlgos/interface/ESFastTDigitizer.h"
24 //TB#include "Geometry/CaloGeometry/interface/CaloGeometry.h"
25 
28 
29 //For TB ----------------------------
35 //For TB ----------------------------
36 
38 {
39 public:
40 
41  // The following is not yet used, but will be the primary
42  // constructor when the parameter set system is available.
43  //
44  explicit EcalTBDigiProducer(const edm::ParameterSet& params);
45  virtual ~EcalTBDigiProducer();
46 
48  virtual void produce(edm::Event& event, const edm::EventSetup& eventSetup);
49 
50 private:
51 
52 //TB void checkGeometry(const edm::EventSetup & eventSetup);
53 
54 //TB void updateGeometry();
55 
56  void checkCalibrations(const edm::EventSetup & eventSetup);
57 
58  void setPhaseShift(const DetId & detId);
59 
60  void fillTBTDCRawInfo(EcalTBTDCRawInfo & theTBTDCRawInfo);
61 
65 //TB typedef CaloTDigitizer<ESDigitizerTraits> ESDigitizer;
66 
69 //TB ESDigitizer * theESDigitizer;
70 //TB ESFastTDigitizer * theESDigitizerFast;
71 
75 //TB const ESShape * theESShape;
76 
79 //TB CaloHitResponse * theESResponse;
80 
83 
85 //TB ESElectronicsSim * theESElectronicsSim;
86 //TB ESElectronicsSimFast * theESElectronicsSimFast;
88 
89  std::string EBdigiCollection_;
90  std::string EEdigiCollection_;
91 //TB std::string ESdigiCollection_;
92 
93 //TB std::string hitsProducer_;
94 
95  double EBs25notCont;
96  double EEs25notCont;
97 
98 //For TB -------------------------------------------
99 
100  std::string m_barrelHitsName ;
101  std::string m_endcapHitsName ;
102 
104 
106 
107  std::string ecalTBInfoLabel;
108 
111 
112  bool doReadout;
113 
114  std::vector<EcalTBTDCRecInfoAlgo::EcalTBTDCRanges> tdcRanges;
116 
118 //For TB ---------------------
119 
120 //TB bool cosmicsPhase;
121 //TB double cosmicsShift;
122 
123 //TB bool doFast;
124 };
125 
126 #endif
virtual void produce(edm::Event &event, const edm::EventSetup &eventSetup)
Creates electronics signals from hits.
CaloHitRespoNew * theEBResponse
const EBShape theEBShape
const EcalTrigTowerConstituentsMap * theTTmap
std::string EBdigiCollection_
EcalTBReadout * theTBReadout
EcalCorrMatrix * theNoiseMatrix
CorrelatedNoisifier< EcalCorrMatrix > * theCorrNoise
void fillTBTDCRawInfo(EcalTBTDCRawInfo &theTBTDCRawInfo)
const EEShape theEEShape
EBDigitizer * theBarrelDigitizer
void setPhaseShift(const DetId &detId)
EcalElectronicsSim * theElectronicsSim
std::string EEdigiCollection_
EEDigitizer * theEndcapDigitizer
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
math::ErrorD< CaloSamples::MAXSAMPLES >::type EcalCorrMatrix
Definition: EBShape.h:6
std::string m_barrelHitsName
std::vector< EcalTBTDCRecInfoAlgo::EcalTBTDCRanges > tdcRanges
Definition: DetId.h:20
EcalTDigitizer< EEDigitizerTraits > EEDigitizer
std::string m_endcapHitsName
EcalTDigitizer< EBDigitizerTraits > EBDigitizer
CaloHitRespoNew * theEEResponse
EcalTBDigiProducer(const edm::ParameterSet &params)
const EcalSimParameterMap * theParameterMap
Definition: EEShape.h:6
void checkCalibrations(const edm::EventSetup &eventSetup)