CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
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;
38 
40 
41 public:
42 
43  // Constructor and Destructor
46 
47 public:
48 
49  void const initHFShowerLibrary(const edm::EventSetup& );
50  void recoHFShowerLibrary(const FSimTrack &myTrack);
51 
52  const std::map<CaloHitID,float>& getHitsMap() { return hitMap; };
53 
54 private:
55 
56  const edm::ParameterSet fast;
57  std::unique_ptr<HFShowerLibrary> hfshower;
58  std::unique_ptr<HcalNumberingFromDDD> numberingFromDDD;
60 
61  std::map<CaloHitID,float> hitMap;
62 
65 
66 };
67 #endif
const edm::ParameterSet fast
void recoHFShowerLibrary(const FSimTrack &myTrack)
type of data representation of DDCompactView
Definition: DDCompactView.h:77
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