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 public:
42  // Constructor and Destructor
45 
46 public:
47  void const initHFShowerLibrary(const edm::EventSetup&);
48  void recoHFShowerLibrary(const FSimTrack& myTrack);
50  const std::map<CaloHitID, float>& getHitsMap() { return hitMap; };
51 
53 
54 private:
56  std::unique_ptr<HFShowerLibrary> hfshower;
57  std::unique_ptr<HcalNumberingFromDDD> numberingFromDDD;
60 
61  std::map<CaloHitID, float> hitMap;
62 
65 };
66 #endif
std::map< CaloHitID, float > hitMap
const edm::ParameterSet fast
void recoHFShowerLibrary(const FSimTrack &myTrack)
Compact representation of the geometrical detector hierarchy.
Definition: DDCompactView.h:80
HcalNumberingScheme numberingScheme
const std::map< CaloHitID, float > & getHitsMap()
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 HcalDDDSimConstants * hcalConstants
void const initHFShowerLibrary(const edm::EventSetup &)