CMS 3D CMS Logo

HcalSimParametersFromDD.h
Go to the documentation of this file.
1 #ifndef HcalCommonData_HcalSimParametersFromDD_h
2 #define HcalCommonData_HcalSimParametersFromDD_h
3 
9 #include <string>
10 
12 
14 public:
15  HcalSimParametersFromDD() = default;
16 
19 
20 private:
22  void fillNameVector(const DDCompactView*, const std::string&, const std::string&, std::vector<std::string>&);
23  void fillNameVector(const cms::DDCompactView&, const std::string&, std::vector<std::string>&);
24  void fillPMTs(const std::vector<double>&, bool, HcalSimulationParameters&);
25  bool isItHF(const std::string&, const HcalSimulationParameters&);
26  std::vector<std::string> getNames(DDFilteredView& fv);
27  std::vector<std::string> getNames(cms::DDFilteredView& fv);
28  std::vector<double> getDDDArray(const std::string& str, const DDsvalues_type& sv, int& nmin);
29 
30  static constexpr double k_ScaleFromDD4Hep = (1.0 / dd4hep::mm);
31  static constexpr double k_ScaleFromDD4HepInv = dd4hep::mm;
32 };
33 
34 #endif
HcalSimParametersFromDD::fillPMTs
void fillPMTs(const std::vector< double > &, bool, HcalSimulationParameters &)
Definition: HcalSimParametersFromDD.cc:272
HcalSimParametersFromDD::getNames
std::vector< std::string > getNames(DDFilteredView &fv)
Definition: HcalSimParametersFromDD.cc:310
HcalSimParametersFromDD::getDDDArray
std::vector< double > getDDDArray(const std::string &str, const DDsvalues_type &sv, int &nmin)
Definition: HcalSimParametersFromDD.cc:339
cms::DDFilteredView
Definition: DDFilteredView.h:70
DDCompactView.h
HcalSimParametersFromDD::HcalSimParametersFromDD
HcalSimParametersFromDD()=default
DDFilteredView.h
HcalSimParametersFromDD::k_ScaleFromDD4HepInv
static constexpr double k_ScaleFromDD4HepInv
Definition: HcalSimParametersFromDD.h:31
DDCompactView
Compact representation of the geometrical detector hierarchy.
Definition: DDCompactView.h:81
pfDeepBoostedJetPreprocessParams_cfi.sv
sv
Definition: pfDeepBoostedJetPreprocessParams_cfi.py:352
str
#define str(s)
Definition: TestProcessor.cc:53
HcalSimParametersFromDD
Definition: HcalSimParametersFromDD.h:13
DDFilteredView.h
DDCompactView.h
HcalSimParametersFromDD::isItHF
bool isItHF(const std::string &, const HcalSimulationParameters &)
Definition: HcalSimParametersFromDD.cc:293
HcalSimParametersFromDD::buildParameters
bool buildParameters(const HcalSimulationParameters &)
Definition: HcalSimParametersFromDD.cc:169
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
HcalSimParametersFromDD::k_ScaleFromDD4Hep
static constexpr double k_ScaleFromDD4Hep
Definition: HcalSimParametersFromDD.h:30
nmin
const HitContainer *__restrict__ const TkSoA *__restrict__ Quality *__restrict__ uint16_t nmin
Definition: CAHitNtupletGeneratorKernelsImpl.h:634
HcalSimParametersFromDD::build
bool build(const DDCompactView *, HcalSimulationParameters &)
Definition: HcalSimParametersFromDD.cc:18
cms::DDCompactView
Definition: DDCompactView.h:31
DDsvalues.h
DDFilteredView
Definition: DDFilteredView.h:20
HcalSimParametersFromDD::fillNameVector
void fillNameVector(const DDCompactView *, const std::string &, const std::string &, std::vector< std::string > &)
Definition: HcalSimParametersFromDD.cc:252
DDsvalues_type
std::vector< std::pair< unsigned int, DDValue > > DDsvalues_type
Definition: DDsvalues.h:12
HcalSimulationParameters
Definition: HcalSimulationParameters.h:6