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 
12 
15 
18 
24 #include "G4ThreeVector.hh"
25 
26 //ROOT
27 #include "TROOT.h"
28 #include "TFile.h"
29 #include "TTree.h"
30 
31 #include <string>
32 #include <memory>
33 #include <map>
34 
35 class DDCompactView;
36 class FSimEvent;
37 class FSimTrack;
38 class HFShowerLibrary;
40 
42 
43 public:
44 
45  // Constructor and Destructor
48 
49 public:
50 
51  void const initHFShowerLibrary(const edm::EventSetup& );
52  void recoHFShowerLibrary(const FSimTrack &myTrack);
54  const std::map<CaloHitID,float>& getHitsMap() { return hitMap; };
55 
57 
58 private:
59 
61  std::unique_ptr<HFShowerLibrary> hfshower;
62  std::unique_ptr<HcalNumberingFromDDD> numberingFromDDD;
65 
66  std::map<CaloHitID,float> hitMap;
67 
70 
71 };
72 #endif
const edm::ParameterSet fast
void recoHFShowerLibrary(const FSimTrack &myTrack)
Compact representation of the geometrical detector hierarchy.
Definition: DDCompactView.h:80
HcalNumberingScheme numberingScheme
std::unique_ptr< HcalNumberingFromDDD > numberingFromDDD
FastHFShowerLibrary(edm::ParameterSet const &p)
void modifyDepth(HcalNumberingFromDDD::HcalID &id)
void SetRandom(const RandomEngineAndDistribution *)
std::unique_ptr< HFShowerLibrary > hfshower
const std::map< CaloHitID, float > & getHitsMap()
void const initHFShowerLibrary(const edm::EventSetup &)
std::map< CaloHitID, float > hitMap
HcalDDDSimConstants * hcalConstants