9 : theHBParameters(2000., 117, 5, 10, 5,
true,
true, 1, std::
vector<double>(16, 117.), 10.),
10 theHEParameters(2000., 178, 5, 10, 5,
true,
true, 16, std::
vector<double>(16, 178.), 10.),
11 theHOParameters(4000., 217., 5, 10, 5,
true,
true, 1, std::
vector<double>(16, 217.), 5.),
12 theHOZecotekSiPMParameters(4000., 217., 5, 10, 5,
true,
true, 1, std::
vector<double>(16, 217.), 5.),
13 theHOHamamatsuSiPMParameters(4000., 217., 5, 10, 5,
true,
true, 1, std::
vector<double>(16, 217.), 5.),
14 theHFParameters1(6., 2.79, 1 / 0.278, -4,
true),
15 theHFParameters2(6., 2.06, 1 / 0.267, -4,
true),
16 theZDCParameters(1., 4.3333, 2.09, -4,
false),
18 theHOHamamatsuDetIds() {}
21 : theHBParameters(p.getParameter<edm::
ParameterSet>(
"hb")),
22 theHEParameters(p.getParameter<edm::
ParameterSet>(
"he")),
23 theHOParameters(p.getParameter<edm::
ParameterSet>(
"ho")),
24 theHOZecotekSiPMParameters(p.getParameter<edm::
ParameterSet>(
"hoZecotek")),
25 theHOHamamatsuSiPMParameters(p.getParameter<edm::
ParameterSet>(
"hoHamamatsu")),
26 theHFParameters1(p.getParameter<edm::
ParameterSet>(
"hf1")),
27 theHFParameters2(p.getParameter<edm::
ParameterSet>(
"hf2")),
28 theZDCParameters(p.getParameter<edm::
ParameterSet>(
"zdc")) {}
49 if (hcalDetId.
depth() == 1 || hcalDetId.
depth() == 3) {
87 if (frameSize == 10) {
88 }
else if (frameSize == 6)
91 edm::LogError(
"HcalSimParameterMap") <<
"Bad HCAL frame size " << frameSize;
94 edm::LogWarning(
"HcalSignalGenerator") <<
"Mismatch in frame sizes. Setting to " << frameSize;
bool isHcalZDCDetId() const
HcalSimParameters theHBParameters
const CaloSimParameters & simParameters(const DetId &id) const override
void setDbService(const HcalDbService *service)
Log< level::Error, false > LogError
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
constexpr HcalSubdetector subdet() const
get the subdetector
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
constexpr int depth() const
get the tower depth
Log< level::Warning, false > LogWarning
HFSimParameters theZDCParameters
void setDbService(const HcalDbService *service)
HcalSimParameters theHOZecotekSiPMParameters