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 
16 
22 #include "G4ThreeVector.hh"
23 
24 //ROOT
25 #include "TROOT.h"
26 #include "TFile.h"
27 #include "TTree.h"
28 
29 #include <string>
30 #include <memory>
31 #include <map>
32 
33 class FSimEvent;
34 class FSimTrack;
35 class HFShowerLibrary;
37 
39 public:
40  // Constructor and Destructor
43 
44 public:
45  void const initHFShowerLibrary(const edm::EventSetup&);
46  void recoHFShowerLibrary(const FSimTrack& myTrack);
48  const std::map<CaloHitID, float>& getHitsMap() { return hitMap; };
49 
51 
52 private:
54  std::unique_ptr<HFShowerLibrary> hfshower;
55  std::unique_ptr<HcalNumberingFromDDD> numberingFromDDD;
58 
59  std::map<CaloHitID, float> hitMap;
60 
63 };
64 #endif
FastHFShowerLibrary::hcalConstants
const HcalDDDSimConstants * hcalConstants
Definition: FastHFShowerLibrary.h:56
FastHFShowerLibrary::fast
const edm::ParameterSet fast
Definition: FastHFShowerLibrary.h:53
FSimEvent
Definition: FSimEvent.h:29
MessageLogger.h
HcalNumberingFromDDD::HcalID
Definition: HcalNumberingFromDDD.h:21
FastHFShowerLibrary::recoHFShowerLibrary
void recoHFShowerLibrary(const FSimTrack &myTrack)
Definition: FastHFShowerLibrary.cc:83
FastHFShowerLibrary::~FastHFShowerLibrary
~FastHFShowerLibrary()
Definition: FastHFShowerLibrary.h:42
AlCaHLTBitMon_ParallelJobs.p
p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
FastHFShowerLibrary::numberingScheme
HcalNumberingScheme numberingScheme
Definition: FastHFShowerLibrary.h:57
CaloHitID.h
HcalNumberingFromDDD.h
FastHFShowerLibrary::name
std::string name
Definition: FastHFShowerLibrary.h:62
HcalDDDSimConstants
Definition: HcalDDDSimConstants.h:24
FastHFShowerLibrary::FastHFShowerLibrary
FastHFShowerLibrary(edm::ParameterSet const &p)
Definition: FastHFShowerLibrary.cc:44
FamosDebug.h
HcalNumberingScheme.h
HFShowerLibrary
Definition: HFShowerLibrary.h:28
FastHFShowerLibrary
Definition: FastHFShowerLibrary.h:38
FastHFShowerLibrary::hitMap
std::map< CaloHitID, float > hitMap
Definition: FastHFShowerLibrary.h:59
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition: ParameterSet.h:47
Event.h
HFShowerLibrary.h
FastHFShowerLibrary::getHitsMap
const std::map< CaloHitID, float > & getHitsMap()
Definition: FastHFShowerLibrary.h:48
edm::EventSetup
Definition: EventSetup.h:58
HcalNumberingScheme
Definition: HcalNumberingScheme.h:13
FastHFShowerLibrary::modifyDepth
void modifyDepth(HcalNumberingFromDDD::HcalID &id)
Definition: FastHFShowerLibrary.cc:138
EventSetup.h
FastHFShowerLibrary::numberingFromDDD
std::unique_ptr< HcalNumberingFromDDD > numberingFromDDD
Definition: FastHFShowerLibrary.h:55
FastHFShowerLibrary::hfshower
std::unique_ptr< HFShowerLibrary > hfshower
Definition: FastHFShowerLibrary.h:54
FSimTrack
Definition: FSimTrack.h:30
FastHFShowerLibrary::SetRandom
void SetRandom(const RandomEngineAndDistribution *)
Definition: FastHFShowerLibrary.cc:76
ParameterSet.h
Vector3D.h
FastHFShowerLibrary::applyFidCut
bool applyFidCut
Definition: FastHFShowerLibrary.h:61
FastHFShowerLibrary::initHFShowerLibrary
const void initHFShowerLibrary(const edm::EventSetup &)
Definition: FastHFShowerLibrary.cc:49
HcalDDDSimConstants.h
RandomEngineAndDistribution
Definition: RandomEngineAndDistribution.h:18