9 theHBParameters(2000., std::vector<double>(16, 0.3305),
12 1, std::vector<double>(16, 117.)),
13 theHEParameters(2000., std::vector<double>(16, 0.3305),
16 16, std::vector<double>(16, 178.)),
17 theHOParameters( 4000., std::vector<double>(16, 0.3065),
20 1, std::vector<double>(16, 217.)),
21 theHOZecotekSiPMParameters( 4000., std::vector<double>(16, 3.0),
24 1, std::vector<double>(16, 217.)),
25 theHOHamamatsuSiPMParameters( 4000., std::vector<double>(16, 3.0),
28 1, std::vector<double>(16, 217.)),
29 theHFParameters1(6., 2.79,
32 theHFParameters2(6., 2.06,
35 theZDCParameters(1., 4.3333,
39 theHOHamamatsuDetIds()
53 : theHBParameters( p.getParameter<edm::
ParameterSet>(
"hb") ),
54 theHEParameters( p.getParameter<edm::
ParameterSet>(
"he") ),
55 theHOParameters( p.getParameter<edm::
ParameterSet>(
"ho") ),
56 theHOZecotekSiPMParameters( p.getParameter<edm::
ParameterSet>(
"hoZecotek") ),
57 theHOHamamatsuSiPMParameters( p.getParameter<edm::
ParameterSet>(
"hoHamamatsu") ),
58 theHFParameters1( p.getParameter<edm::
ParameterSet>(
"hf1") ),
59 theHFParameters2( p.getParameter<edm::
ParameterSet>(
"hf2") ),
60 theZDCParameters( p.getParameter<edm::
ParameterSet>(
"zdc") )
89 if(hcalDetId.
depth() == 1) {
134 if(frameSize == 10) {}
135 else if(frameSize == 6) binOfMaximum = 4;
137 edm::LogError(
"HcalSimParameterMap")<<
"Bad HCAL frame size " << frameSize;
141 edm::LogWarning(
"HcalSignalGenerator")<<
"Mismatch in frame sizes. Setting to " << frameSize;
bool isHcalZDCDetId() const
HcalSubdetector subdet() const
get the subdetector
virtual const CaloSimParameters & simParameters(const DetId &id) const
HcalSimParameters theHBParameters
void setDbService(const HcalDbService *service)
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
Main class for Parameters in different subdetectors.
HcalSimParameters theHOHamamatsuSiPMParameters
int depth() const
get the tower depth
HcalSimParameterMap()
hardcoded default parameters
void setReadoutFrameSize(int frameSize)
some datamixing apps need this to be set dynamically
void setBinOfMaximum(int binOfMax)
std::vector< HcalDetId > theHOZecotekDetIds
void setFrameSize(const DetId &detId, int frameSize)
HcalSimParameters theHEParameters
int readoutFrameSize() const
for now, the LinearFrames and trhe digis will be one-to-one.
HFSimParameters theHFParameters1
HFSimParameters theHFParameters2
std::vector< HcalDetId > theHOHamamatsuDetIds
void setDbService(const HcalDbService *service)
HcalSimParameters theHOParameters
HFSimParameters theZDCParameters
void setDbService(const HcalDbService *service)
HcalSimParameters theHOZecotekSiPMParameters