src
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 "
CondFormats/GeometryObjects/interface/HcalSimulationParameters.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
G4Step;
19
20
#include <TH1F.h>
21
#include <TH2F.h>
22
#include <string>
23
#include <vector>
24
25
class
HFShowerParam
{
26
public
:
27
HFShowerParam
(
const
std::string
&
name
,
28
const
HcalDDDSimConstants
* hcons,
29
const
HcalSimulationParameters
* hps,
30
edm::ParameterSet
const
&
p
);
31
32
public
:
33
struct
Hit
{
34
Hit
() {}
35
G4ThreeVector
position
;
36
int
depth
;
37
double
time
;
38
double
edep
;
39
};
40
std::vector<Hit>
getHits
(
const
G4Step* aStep,
double
weight
,
bool
& isKilled);
41
42
private
:
43
std::unique_ptr<HFShowerLibrary>
showerLibrary_
;
44
HFFibre
fibre_
;
45
std::unique_ptr<HFGflash>
gflash_
;
46
bool
fillHisto_
;
47
double
pePerGeV_
,
edMin_
,
ref_index_
,
aperture_
,
attLMeanInv_
;
48
bool
trackEM_
,
equalizeTimeShift_
,
onlyLong_
,
applyFidCut_
,
parametrizeLast_
;
49
G4int
emPDG_
,
epPDG_
,
gammaPDG_
;
50
std::vector<double>
gpar_
;
51
TH1F *
em_long_1_
, *
em_lateral_1_
, *
em_long_2_
, *
em_lateral_2_
;
52
TH1F *
hzvem_
, *
hzvhad_
, *
em_long_1_tuned_
, *
em_long_gflash_
;
53
TH1F*
em_long_sl_
;
54
TH2F *
em_2d_1_
, *
em_2d_2_
;
55
};
56
57
#endif // HFShowerParam_h
HFShowerParam::gflash_
std::unique_ptr< HFGflash > gflash_
Definition:
HFShowerParam.h:45
HFShowerParam::edMin_
double edMin_
Definition:
HFShowerParam.h:47
HFShowerParam::fibre_
HFFibre fibre_
Definition:
HFShowerParam.h:44
HFShowerParam::HFShowerParam
HFShowerParam(const std::string &name, const HcalDDDSimConstants *hcons, const HcalSimulationParameters *hps, edm::ParameterSet const &p)
Definition:
HFShowerParam.cc:29
HFShowerParam::aperture_
double aperture_
Definition:
HFShowerParam.h:47
HcalDDDSimConstants.h
HFShowerParam::em_long_sl_
TH1F * em_long_sl_
Definition:
HFShowerParam.h:53
HFShowerParam::gammaPDG_
G4int gammaPDG_
Definition:
HFShowerParam.h:49
MessageLogger.h
HFShowerParam::attLMeanInv_
double attLMeanInv_
Definition:
HFShowerParam.h:47
HFShowerParam::pePerGeV_
double pePerGeV_
Definition:
HFShowerParam.h:47
HFShowerParam
Definition:
HFShowerParam.h:25
HFShowerParam::em_long_2_
TH1F * em_long_2_
Definition:
HFShowerParam.h:51
weight
Definition:
weight.py:1
HFShowerParam::em_long_1_tuned_
TH1F * em_long_1_tuned_
Definition:
HFShowerParam.h:52
HcalDDDSimConstants
Definition:
HcalDDDSimConstants.h:24
HFShowerParam::epPDG_
G4int epPDG_
Definition:
HFShowerParam.h:49
HFShowerParam::em_long_1_
TH1F * em_long_1_
Definition:
HFShowerParam.h:51
HFShowerParam::fillHisto_
bool fillHisto_
Definition:
HFShowerParam.h:46
HFShowerParam::em_long_gflash_
TH1F * em_long_gflash_
Definition:
HFShowerParam.h:52
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
HFGflash.h
ParameterSet.h
HFShowerParam::onlyLong_
bool onlyLong_
Definition:
HFShowerParam.h:48
HFShowerParam::em_lateral_2_
TH1F * em_lateral_2_
Definition:
HFShowerParam.h:51
HcalSimulationParameters.h
HFShowerParam::Hit::edep
double edep
Definition:
HFShowerParam.h:38
HFShowerParam::gpar_
std::vector< double > gpar_
Definition:
HFShowerParam.h:50
HFShowerLibrary.h
HFFibre
Definition:
HFFibre.h:19
HFShowerParam::getHits
std::vector< Hit > getHits(const G4Step *aStep, double weight, bool &isKilled)
Definition:
HFShowerParam.cc:105
HFShowerParam::em_lateral_1_
TH1F * em_lateral_1_
Definition:
HFShowerParam.h:51
HcalSimulationParameters
Definition:
HcalSimulationParameters.h:6
HFShowerParam::Hit::position
G4ThreeVector position
Definition:
HFShowerParam.h:35
HFFibre.h
HFShowerParam::emPDG_
G4int emPDG_
Definition:
HFShowerParam.h:49
HFShowerParam::equalizeTimeShift_
bool equalizeTimeShift_
Definition:
HFShowerParam.h:48
HFShowerParam::em_2d_2_
TH2F * em_2d_2_
Definition:
HFShowerParam.h:54
HFShowerParam::em_2d_1_
TH2F * em_2d_1_
Definition:
HFShowerParam.h:54
HFShowerParam::trackEM_
bool trackEM_
Definition:
HFShowerParam.h:48
HFShowerParam::parametrizeLast_
bool parametrizeLast_
Definition:
HFShowerParam.h:48
HFShowerParam::showerLibrary_
std::unique_ptr< HFShowerLibrary > showerLibrary_
Definition:
HFShowerParam.h:43
HFShowerParam::Hit::time
double time
Definition:
HFShowerParam.h:37
HFShowerParam::ref_index_
double ref_index_
Definition:
HFShowerParam.h:47
HFShowerParam::applyFidCut_
bool applyFidCut_
Definition:
HFShowerParam.h:48
HFShowerParam::Hit::depth
int depth
Definition:
HFShowerParam.h:36
edm::ParameterSet
Definition:
ParameterSet.h:48
HFShowerParam::Hit
Definition:
HFShowerParam.h:33
HFShowerParam::Hit::Hit
Hit()
Definition:
HFShowerParam.h:34
HFShowerParam::hzvhad_
TH1F * hzvhad_
Definition:
HFShowerParam.h:52
AlCaHLTBitMon_ParallelJobs.p
def p
Definition:
AlCaHLTBitMon_ParallelJobs.py:153
Skims_PA_cff.name
name
Definition:
Skims_PA_cff.py:17
HFShowerParam::hzvem_
TH1F * hzvem_
Definition:
HFShowerParam.h:52
Generated for CMSSW Reference Manual by
1.8.14