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;
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);
52  void modifyDepth(uint32_t &id);
53  const std::map<CaloHitID,float>& getHitsMap() { return hitMap; };
54 
55 private:
56 
57  const edm::ParameterSet fast;
58  std::unique_ptr<HFShowerLibrary> hfshower;
59  std::unique_ptr<HcalNumberingFromDDD> numberingFromDDD;
62 
63  std::map<CaloHitID,float> hitMap;
64 
67 
68 };
69 #endif
const edm::ParameterSet fast
void recoHFShowerLibrary(const FSimTrack &myTrack)
type of data representation of DDCompactView
Definition: DDCompactView.h:90
void modifyDepth(uint32_t &id)
HcalNumberingScheme numberingScheme
std::unique_ptr< HcalNumberingFromDDD > numberingFromDDD
FastHFShowerLibrary(edm::ParameterSet const &p)
std::unique_ptr< HFShowerLibrary > hfshower
const std::map< CaloHitID, float > & getHitsMap()
void const initHFShowerLibrary(const edm::EventSetup &)
std::map< CaloHitID, float > hitMap
HcalDDDSimConstants * hcalConstants