CMS 3D CMS Logo

FastHFShowerLibrary.h
Go to the documentation of this file.
1 #ifndef FastHFShowerLibrary_H
2 #define FastHFShowerLibrary_H
3 // File: FastHFShowerLibrary.h
5 // Description: Gets information from a shower library
7 
11 
13 
15 
23 #include "G4ThreeVector.hh"
24 
25 //ROOT
26 #include "TROOT.h"
27 #include "TFile.h"
28 #include "TTree.h"
29 
30 #include <string>
31 #include <memory>
32 #include <map>
33 
34 class FSimEvent;
35 class FSimTrack;
36 class HFShowerLibrary;
38 
40 public:
41  // Constructor and Destructor
44 
45 public:
46  void const initHFShowerLibrary(const edm::EventSetup&);
47  void recoHFShowerLibrary(const FSimTrack& myTrack);
49  const std::map<CaloHitID, float>& getHitsMap() { return hitMap; };
50 
52 
53 private:
55  std::unique_ptr<HFShowerLibrary> hfshower;
56  std::unique_ptr<HcalNumberingFromDDD> numberingFromDDD;
59 
60  std::map<CaloHitID, float> hitMap;
61 
64 
67 };
68 #endif
const edm::ESGetToken< HcalSimulationConstants, HcalSimNumberingRecord > hcalSimulationConstantsESToken_
std::map< CaloHitID, float > hitMap
const edm::ParameterSet fast
void recoHFShowerLibrary(const FSimTrack &myTrack)
HcalNumberingScheme numberingScheme
const edm::ESGetToken< HcalDDDSimConstants, HcalSimNumberingRecord > hcalDDDSimConstantsESToken_
FastHFShowerLibrary(edm::ParameterSet const &, edm::ConsumesCollector &&)
const std::map< CaloHitID, float > & getHitsMap()
std::unique_ptr< HcalNumberingFromDDD > numberingFromDDD
void modifyDepth(HcalNumberingFromDDD::HcalID &id)
void SetRandom(const RandomEngineAndDistribution *)
std::unique_ptr< HFShowerLibrary > hfshower
const HcalDDDSimConstants * hcalConstants
void const initHFShowerLibrary(const edm::EventSetup &)