Main Page
Namespaces
Classes
Package Documentation
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 "G4ThreeVector.hh"
17
18
class
DDCompactView
;
19
class
G4Step;
20
21
#include <TH1F.h>
22
#include <TH2F.h>
23
#include <string>
24
#include <vector>
25
26
class
HFShowerParam
{
27
28
public
:
29
30
HFShowerParam
(
const
std::string
&
name
,
const
DDCompactView
& cpv,
31
edm::ParameterSet
const
&
p
);
32
virtual
~HFShowerParam
();
33
34
public
:
35
36
struct
Hit
{
37
Hit
() {}
38
G4ThreeVector
position
;
39
int
depth
;
40
double
time
;
41
double
edep
;
42
};
43
44
void
initRun
(
const
HcalDDDSimConstants
*);
45
std::vector<Hit>
getHits
(
const
G4Step * aStep,
double
weight
,
bool
& isKilled);
46
47
private
:
48
49
std::vector<double>
getDDDArray
(
const
std::string
&,
const
DDsvalues_type
&);
50
51
HFShowerLibrary
*
showerLibrary
;
52
HFFibre
*
fibre
;
53
HFGflash
*
gflash
;
54
double
pePerGeV
,
edMin
,
ref_index
,
aperture
,
attLMeanInv
;
55
bool
trackEM
,
onlyLong
,
applyFidCut
,
parametrizeLast
;
56
G4int
emPDG
,
epPDG
,
gammaPDG
;
57
std::vector<double>
gpar
;
58
bool
fillHisto
;
59
TH1F *
em_long_1
, *
em_lateral_1
, *
em_long_2
, *
em_lateral_2
;
60
TH1F *
hzvem
, *
hzvhad
, *
em_long_1_tuned
, *
em_long_gflash
;
61
TH1F *
em_long_sl
;
62
TH2F *
em_2d_1
, *
em_2d_2
;
63
};
64
65
66
#endif // HFShowerParam_h
HFShowerParam::HFShowerParam
HFShowerParam(const std::string &name, const DDCompactView &cpv, edm::ParameterSet const &p)
Definition:
HFShowerParam.cc:31
HFShowerParam::attLMeanInv
double attLMeanInv
Definition:
HFShowerParam.h:54
MessageLogger.h
HFShowerParam::parametrizeLast
bool parametrizeLast
Definition:
HFShowerParam.h:55
AlCaHLTBitMon_ParallelJobs.p
p
Definition:
AlCaHLTBitMon_ParallelJobs.py:152
HcalDDDSimConstants.h
HFShowerParam::aperture
double aperture
Definition:
HFShowerParam.h:54
HFShowerParam::~HFShowerParam
virtual ~HFShowerParam()
Definition:
HFShowerParam.cc:92
HFShowerParam::em_2d_2
TH2F * em_2d_2
Definition:
HFShowerParam.h:62
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
HFShowerParam::initRun
void initRun(const HcalDDDSimConstants *)
Definition:
HFShowerParam.cc:98
HFShowerParam::gpar
std::vector< double > gpar
Definition:
HFShowerParam.h:57
HFShowerParam
Definition:
HFShowerParam.h:26
weight
Definition:
weight.py:1
HcalDDDSimConstants
Definition:
HcalDDDSimConstants.h:24
HFShowerParam::emPDG
G4int emPDG
Definition:
HFShowerParam.h:56
HFShowerParam::showerLibrary
HFShowerLibrary * showerLibrary
Definition:
HFShowerParam.h:51
DDCompactView
Compact representation of the geometrical detector hierarchy.
Definition:
DDCompactView.h:83
HFGflash
Definition:
HFGflash.h:29
HFShowerLibrary
Definition:
HFShowerLibrary.h:29
HFShowerParam::em_lateral_2
TH1F * em_lateral_2
Definition:
HFShowerParam.h:59
HFShowerParam::fibre
HFFibre * fibre
Definition:
HFShowerParam.h:52
HFGflash.h
ParameterSet.h
HFShowerParam::em_2d_1
TH2F * em_2d_1
Definition:
HFShowerParam.h:62
HFShowerParam::Hit::edep
double edep
Definition:
HFShowerParam.h:41
HFShowerParam::pePerGeV
double pePerGeV
Definition:
HFShowerParam.h:54
HFShowerParam::hzvem
TH1F * hzvem
Definition:
HFShowerParam.h:60
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:20
HFFibre
Definition:
HFFibre.h:20
HFShowerParam::hzvhad
TH1F * hzvhad
Definition:
HFShowerParam.h:60
HFShowerParam::getHits
std::vector< Hit > getHits(const G4Step *aStep, double weight, bool &isKilled)
Definition:
HFShowerParam.cc:103
HFShowerParam::gammaPDG
G4int gammaPDG
Definition:
HFShowerParam.h:56
HFShowerParam::gflash
HFGflash * gflash
Definition:
HFShowerParam.h:53
HFShowerParam::getDDDArray
std::vector< double > getDDDArray(const std::string &, const DDsvalues_type &)
Definition:
HFShowerParam.cc:376
HFShowerParam::Hit::position
G4ThreeVector position
Definition:
HFShowerParam.h:38
HFFibre.h
HFShowerParam::edMin
double edMin
Definition:
HFShowerParam.h:54
HFShowerParam::ref_index
double ref_index
Definition:
HFShowerParam.h:54
HFShowerParam::trackEM
bool trackEM
Definition:
HFShowerParam.h:55
HFShowerParam::Hit::time
double time
Definition:
HFShowerParam.h:40
HFShowerParam::epPDG
G4int epPDG
Definition:
HFShowerParam.h:56
HFShowerParam::applyFidCut
bool applyFidCut
Definition:
HFShowerParam.h:55
DDsvalues.h
HFShowerParam::em_long_gflash
TH1F * em_long_gflash
Definition:
HFShowerParam.h:60
HFShowerParam::em_long_sl
TH1F * em_long_sl
Definition:
HFShowerParam.h:61
HFShowerParam::em_long_1
TH1F * em_long_1
Definition:
HFShowerParam.h:59
HFShowerParam::em_long_1_tuned
TH1F * em_long_1_tuned
Definition:
HFShowerParam.h:60
HFShowerParam::em_lateral_1
TH1F * em_lateral_1
Definition:
HFShowerParam.h:59
HFShowerParam::fillHisto
bool fillHisto
Definition:
HFShowerParam.h:58
HFShowerParam::Hit::depth
int depth
Definition:
HFShowerParam.h:39
HFShowerParam::onlyLong
bool onlyLong
Definition:
HFShowerParam.h:55
edm::ParameterSet
Definition:
ParameterSet.h:36
HFShowerParam::em_long_2
TH1F * em_long_2
Definition:
HFShowerParam.h:59
HFShowerParam::Hit
Definition:
HFShowerParam.h:36
dataset.name
name
Definition:
dataset.py:45
HFShowerParam::Hit::Hit
Hit()
Definition:
HFShowerParam.h:37
Generated for CMSSW Reference Manual by
1.8.11