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 "
DetectorDescription/Core/interface/DDsvalues.h
"
11
#include "
SimG4CMS/Calo/interface/HFShowerLibrary.h
"
12
#include "
SimG4CMS/Calo/interface/HFFibre.h
"
13
#include "
SimG4CMS/Calo/interface/HFGflash.h
"
14
15
#include "G4ParticleTable.hh"
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
(
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
(G4ParticleTable *);
45
std::vector<Hit>
getHits
(G4Step * aStep,
double
weight
);
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::attLMeanInv
double attLMeanInv
Definition:
HFShowerParam.h:54
MessageLogger.h
HFShowerParam::parametrizeLast
bool parametrizeLast
Definition:
HFShowerParam.h:55
HFShowerParam::aperture
double aperture
Definition:
HFShowerParam.h:54
HFShowerParam::~HFShowerParam
virtual ~HFShowerParam()
Definition:
HFShowerParam.cc:114
HFShowerParam::em_2d_2
TH2F * em_2d_2
Definition:
HFShowerParam.h:62
HFShowerParam::gpar
std::vector< double > gpar
Definition:
HFShowerParam.h:57
HFShowerParam
Definition:
HFShowerParam.h:26
HFShowerParam::emPDG
G4int emPDG
Definition:
HFShowerParam.h:56
HFShowerParam::showerLibrary
HFShowerLibrary * showerLibrary
Definition:
HFShowerParam.h:51
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:28
mergeVDriftHistosByStation.name
string name
Definition:
mergeVDriftHistosByStation.py:77
HFShowerParam::em_lateral_2
TH1F * em_lateral_2
Definition:
HFShowerParam.h:59
HFShowerParam::fibre
HFFibre * fibre
Definition:
HFShowerParam.h:52
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: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:19
HFFibre
Definition:
HFFibre.h:19
HFShowerParam::hzvhad
TH1F * hzvhad
Definition:
HFShowerParam.h:60
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:417
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::getHits
std::vector< Hit > getHits(G4Step *aStep, double weight)
Definition:
HFShowerParam.cc:131
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
AlCaHLTBitMon_ParallelJobs.p
tuple p
Definition:
AlCaHLTBitMon_ParallelJobs.py:152
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::initRun
void initRun(G4ParticleTable *)
Definition:
HFShowerParam.cc:120
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:35
HFShowerParam::em_long_2
TH1F * em_long_2
Definition:
HFShowerParam.h:59
HFShowerParam::Hit
Definition:
HFShowerParam.h:36
histoStyle.weight
int weight
Definition:
histoStyle.py:50
HFShowerParam::Hit::Hit
Hit()
Definition:
HFShowerParam.h:37
Generated for CMSSW Reference Manual by
1.8.5