Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
SimG4CMS
Calo
interface
HFShowerParam.h
Go to the documentation of this file.
1
#ifndef SimG4CMS_HFShowerParam_h
2
#define SimG4CMS_HFShowerParam_h
3
// File: HFShowerParam.h
5
// Description: Generates hits for HF with some parametrized information
7
8
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
9
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
10
#include "
Geometry/HcalCommonData/interface/HcalDDDSimConstants.h
"
11
#include "
DetectorDescription/Core/interface/DDsvalues.h
"
12
#include "
SimG4CMS/Calo/interface/HFShowerLibrary.h
"
13
#include "
SimG4CMS/Calo/interface/HFFibre.h
"
14
#include "
SimG4CMS/Calo/interface/HFGflash.h
"
15
16
#include "G4ParticleTable.hh"
17
#include "G4ThreeVector.hh"
18
19
class
DDCompactView
;
20
class
G4Step;
21
22
#include <TH1F.h>
23
#include <TH2F.h>
24
#include <string>
25
#include <vector>
26
27
class
HFShowerParam
{
28
29
public
:
30
31
HFShowerParam
(
std::string
&
name
,
const
DDCompactView
& cpv,
32
edm::ParameterSet
const
&
p
);
33
virtual
~HFShowerParam
();
34
35
public
:
36
37
struct
Hit
{
38
Hit
() {}
39
G4ThreeVector
position
;
40
int
depth
;
41
double
time
;
42
double
edep
;
43
};
44
45
void
initRun
(G4ParticleTable *,
HcalDDDSimConstants
*);
46
std::vector<Hit>
getHits
(G4Step * aStep,
double
weight
);
47
48
private
:
49
50
std::vector<double>
getDDDArray
(
const
std::string
&,
const
DDsvalues_type
&);
51
52
HFShowerLibrary
*
showerLibrary
;
53
HFFibre
*
fibre
;
54
HFGflash
*
gflash
;
55
double
pePerGeV
,
edMin
,
ref_index
,
aperture
,
attLMeanInv
;
56
bool
trackEM
,
onlyLong
,
applyFidCut
,
parametrizeLast
;
57
G4int
emPDG
,
epPDG
,
gammaPDG
;
58
std::vector<double>
gpar
;
59
bool
fillHisto
;
60
TH1F *
em_long_1
, *
em_lateral_1
, *
em_long_2
, *
em_lateral_2
;
61
TH1F *
hzvem
, *
hzvhad
, *
em_long_1_tuned
, *
em_long_gflash
;
62
TH1F *
em_long_sl
;
63
TH2F *
em_2d_1
, *
em_2d_2
;
64
};
65
66
67
#endif // HFShowerParam_h
HFShowerParam::attLMeanInv
double attLMeanInv
Definition:
HFShowerParam.h:55
MessageLogger.h
HFShowerParam::parametrizeLast
bool parametrizeLast
Definition:
HFShowerParam.h:56
HcalDDDSimConstants.h
HFShowerParam::aperture
double aperture
Definition:
HFShowerParam.h:55
HFShowerParam::~HFShowerParam
virtual ~HFShowerParam()
Definition:
HFShowerParam.cc:91
HFShowerParam::em_2d_2
TH2F * em_2d_2
Definition:
HFShowerParam.h:63
puppiForMET_cff.weight
tuple weight
Definition:
puppiForMET_cff.py:35
HFShowerParam::gpar
std::vector< double > gpar
Definition:
HFShowerParam.h:58
HFShowerParam
Definition:
HFShowerParam.h:27
HcalDDDSimConstants
Definition:
HcalDDDSimConstants.h:22
HFShowerParam::emPDG
G4int emPDG
Definition:
HFShowerParam.h:57
HFShowerParam::showerLibrary
HFShowerLibrary * showerLibrary
Definition:
HFShowerParam.h:52
HFShowerParam::HFShowerParam
HFShowerParam(std::string &name, const DDCompactView &cpv, edm::ParameterSet const &p)
Definition:
HFShowerParam.cc:30
DDCompactView
type of data representation of DDCompactView
Definition:
DDCompactView.h:77
HFGflash
Definition:
HFGflash.h:29
HFShowerLibrary
Definition:
HFShowerLibrary.h:29
mergeVDriftHistosByStation.name
string name
Definition:
mergeVDriftHistosByStation.py:77
HFShowerParam::em_lateral_2
TH1F * em_lateral_2
Definition:
HFShowerParam.h:60
HFShowerParam::fibre
HFFibre * fibre
Definition:
HFShowerParam.h:53
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
HFGflash.h
ParameterSet.h
HFShowerParam::em_2d_1
TH2F * em_2d_1
Definition:
HFShowerParam.h:63
HFShowerParam::Hit::edep
double edep
Definition:
HFShowerParam.h:42
HFShowerParam::pePerGeV
double pePerGeV
Definition:
HFShowerParam.h:55
HFShowerParam::hzvem
TH1F * hzvem
Definition:
HFShowerParam.h:61
HFShowerLibrary.h
DDsvalues_type
std::vector< std::pair< unsigned int, DDValue > > DDsvalues_type
std::maps an index to a DDValue. The index corresponds to the index assigned to the name of the std::...
Definition:
DDsvalues.h:19
HFFibre
Definition:
HFFibre.h:20
HFShowerParam::hzvhad
TH1F * hzvhad
Definition:
HFShowerParam.h:61
HFShowerParam::gammaPDG
G4int gammaPDG
Definition:
HFShowerParam.h:57
HFShowerParam::gflash
HFGflash * gflash
Definition:
HFShowerParam.h:54
HFShowerParam::getDDDArray
std::vector< double > getDDDArray(const std::string &, const DDsvalues_type &)
Definition:
HFShowerParam.cc:403
HFShowerParam::Hit::position
G4ThreeVector position
Definition:
HFShowerParam.h:39
HFFibre.h
HFShowerParam::edMin
double edMin
Definition:
HFShowerParam.h:55
HFShowerParam::ref_index
double ref_index
Definition:
HFShowerParam.h:55
HFShowerParam::getHits
std::vector< Hit > getHits(G4Step *aStep, double weight)
Definition:
HFShowerParam.cc:117
HFShowerParam::initRun
void initRun(G4ParticleTable *, HcalDDDSimConstants *)
Definition:
HFShowerParam.cc:97
HFShowerParam::trackEM
bool trackEM
Definition:
HFShowerParam.h:56
HFShowerParam::Hit::time
double time
Definition:
HFShowerParam.h:41
HFShowerParam::epPDG
G4int epPDG
Definition:
HFShowerParam.h:57
HFShowerParam::applyFidCut
bool applyFidCut
Definition:
HFShowerParam.h:56
DDsvalues.h
HFShowerParam::em_long_gflash
TH1F * em_long_gflash
Definition:
HFShowerParam.h:61
AlCaHLTBitMon_ParallelJobs.p
tuple p
Definition:
AlCaHLTBitMon_ParallelJobs.py:152
HFShowerParam::em_long_sl
TH1F * em_long_sl
Definition:
HFShowerParam.h:62
HFShowerParam::em_long_1
TH1F * em_long_1
Definition:
HFShowerParam.h:60
HFShowerParam::em_long_1_tuned
TH1F * em_long_1_tuned
Definition:
HFShowerParam.h:61
HFShowerParam::em_lateral_1
TH1F * em_lateral_1
Definition:
HFShowerParam.h:60
HFShowerParam::fillHisto
bool fillHisto
Definition:
HFShowerParam.h:59
HFShowerParam::Hit::depth
int depth
Definition:
HFShowerParam.h:40
HFShowerParam::onlyLong
bool onlyLong
Definition:
HFShowerParam.h:56
edm::ParameterSet
Definition:
ParameterSet.h:36
HFShowerParam::em_long_2
TH1F * em_long_2
Definition:
HFShowerParam.h:60
HFShowerParam::Hit
Definition:
HFShowerParam.h:37
HFShowerParam::Hit::Hit
Hit()
Definition:
HFShowerParam.h:38
Generated for CMSSW Reference Manual by
1.8.5