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 
14 
17 
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 DDCompactView;
35 class FSimEvent;
36 class FSimTrack;
37 class HFShowerLibrary;
39 
41 
42 public:
43 
44  // Constructor and Destructor
47 
48 public:
49 
50  void const initHFShowerLibrary(const edm::EventSetup& );
51  void recoHFShowerLibrary(const FSimTrack &myTrack);
53  const std::map<CaloHitID,float>& getHitsMap() { return hitMap; };
54 
56 
57 private:
58 
60  std::unique_ptr<HFShowerLibrary> hfshower;
61  std::unique_ptr<HcalNumberingFromDDD> numberingFromDDD;
64 
65  std::map<CaloHitID,float> hitMap;
66 
69 
70 };
71 #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()
const HcalDDDSimConstants * hcalConstants
void const initHFShowerLibrary(const edm::EventSetup &)
std::map< CaloHitID, float > hitMap