Main Page
Namespaces
Classes
Package Documentation
SimG4CMS
Calo
interface
HFShower.h
Go to the documentation of this file.
1
#ifndef SimG4CMS_HFShower_h
2
#define SimG4CMS_HFShower_h
3
// File: HFShower.h
5
// Description: Generates hits for HF with Cerenkov photon code
7
8
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
9
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
10
#include "
Geometry/HcalCommonData/interface/HcalDDDSimConstants.h
"
11
#include "
SimG4CMS/Calo/interface/HFCherenkov.h
"
12
#include "
SimG4CMS/Calo/interface/HFFibre.h
"
13
14
#include "G4ThreeVector.hh"
15
#include "G4String.hh"
16
17
class
DDCompactView
;
18
class
G4Step;
19
20
#include <vector>
21
22
class
HFShower
{
23
public
:
24
HFShower
(
const
std::string
&
name
,
const
DDCompactView
&cpv,
edm::ParameterSet
const
&
p
,
int
chk = 0);
25
virtual
~HFShower
();
26
27
public
:
28
struct
Hit
{
29
Hit
() {}
30
int
depth
;
31
double
time
;
32
double
wavelength
;
33
double
momentum
;
34
G4ThreeVector
position
;
35
};
36
37
void
initRun
(
const
HcalDDDSimConstants
*);
38
std::vector<Hit>
getHits
(
const
G4Step *aStep,
double
weight
);
39
std::vector<Hit>
getHits
(
const
G4Step *aStep,
bool
forLibrary);
40
std::vector<Hit>
getHits
(
const
G4Step *aStep,
bool
forLibraryProducer,
double
zoffset);
41
42
private
:
43
std::vector<double>
getDDDArray
(
const
std::string
&,
const
DDsvalues_type
&,
int
&);
44
bool
applyFidCut
;
45
46
private
:
47
HFCherenkov
*
cherenkov
;
48
HFFibre
*
fibre
;
49
50
int
chkFibre
;
51
double
probMax
;
52
std::vector<double>
gpar
;
53
};
54
55
#endif // HFShower_h
HFShower::Hit::wavelength
double wavelength
Definition:
HFShower.h:32
HFShower::fibre
HFFibre * fibre
Definition:
HFShower.h:48
MessageLogger.h
AlCaHLTBitMon_ParallelJobs.p
p
Definition:
AlCaHLTBitMon_ParallelJobs.py:153
HcalDDDSimConstants.h
HFShower::Hit::momentum
double momentum
Definition:
HFShower.h:33
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
HFCherenkov.h
HFCherenkov
Definition:
HFCherenkov.h:19
HFShower::applyFidCut
bool applyFidCut
Definition:
HFShower.h:44
HFShower::Hit::position
G4ThreeVector position
Definition:
HFShower.h:34
weight
Definition:
weight.py:1
HcalDDDSimConstants
Definition:
HcalDDDSimConstants.h:24
DDCompactView
Compact representation of the geometrical detector hierarchy.
Definition:
DDCompactView.h:80
HFShower::getHits
std::vector< Hit > getHits(const G4Step *aStep, double weight)
Definition:
HFShower.cc:45
HFShower::cherenkov
HFCherenkov * cherenkov
Definition:
HFShower.h:47
HFShower::chkFibre
int chkFibre
Definition:
HFShower.h:50
HFShower::~HFShower
virtual ~HFShower()
Definition:
HFShower.h:41
ParameterSet.h
HFShower::probMax
double probMax
Definition:
HFShower.h:51
HFShower::Hit::Hit
Hit()
Definition:
HFShower.h:29
HFFibre
Definition:
HFFibre.h:20
HFShower::gpar
std::vector< double > gpar
Definition:
HFShower.h:52
HFShower::Hit::time
double time
Definition:
HFShower.h:31
HFShower::HFShower
HFShower(const RandomEngineAndDistribution *engine, HDShowerParametrization *myParam, EcalHitMaker *myGrid, HcalHitMaker *myHcalHitMaker, int onECAL, double epart)
Definition:
HFShower.cc:30
HFFibre.h
HFShower::initRun
void initRun(const HcalDDDSimConstants *)
Definition:
HFShower.cc:424
HFShower::getDDDArray
std::vector< double > getDDDArray(const std::string &, const DDsvalues_type &, int &)
Definition:
HFShower.cc:392
HFShower::Hit
Definition:
HFShower.h:28
DDsvalues_type
std::vector< std::pair< unsigned int, DDValue > > DDsvalues_type
Definition:
DDsvalues.h:12
edm::ParameterSet
Definition:
ParameterSet.h:36
dataset.name
name
Definition:
dataset.py:45
HFShower::Hit::depth
int depth
Definition:
HFShower.h:30
HFShower
Definition:
HFShower.h:22
Generated for CMSSW Reference Manual by
1.8.11