Main Page
Namespaces
Classes
Package Documentation
SimG4CMS
Forward
interface
ZdcShowerLibrary.h
Go to the documentation of this file.
1
#ifndef SimG4CMS_ZdcShowerLibrary_h
2
#define SimG4CMS_ZdcShowerLibrary_h 1
3
// File: ZdcShowerLibrary.h
5
// Description: Gets information from a shower library
6
// E. Garcia June 2008
8
9
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
10
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
11
#include "
Geometry/ForwardGeometry/src/ZdcHardcodeGeometryData.h
"
12
13
#include "G4ParticleTable.hh"
14
#include "G4ThreeVector.hh"
15
#include "
DetectorDescription/Core/interface/DDsvalues.h
"
16
#include "
DataFormats/HcalDetId/interface/HcalZDCDetId.h
"
17
18
#include <string>
19
#include <memory>
20
21
class
G4Step;
22
class
DDCompactView
;
23
class
ZdcShowerLibrary
{
24
25
public
:
26
27
//Constructor and Destructor
28
ZdcShowerLibrary
(
const
std::string
&
name
,
const
DDCompactView
& cpv,
edm::ParameterSet
const
&
p
);
29
~ZdcShowerLibrary
();
30
31
public
:
32
33
struct
Hit
{
34
Hit
() {}
35
G4ThreeVector
entryLocal
;
36
G4ThreeVector
position
;
37
int
depth
;
38
double
time
;
39
int
detID
;
40
double
DeHad
;
41
double
DeEM
;
42
};
43
44
std::vector<Hit>&
getHits
(
const
G4Step * aStep,
bool
&
ok
);
45
int
getEnergyFromLibrary
(
const
G4ThreeVector& posHit,
const
G4ThreeVector& momDir,
double
energy,
46
G4int parCode,
HcalZDCDetId::Section
section
,
bool
side,
int
channel);
47
int
photonFluctuation
(
double
eav,
double
esig,
double
edis);
48
49
private
:
50
51
bool
verbose
;
52
53
int
npe
;
54
std::vector<ZdcShowerLibrary::Hit>
hits
;
55
56
};
57
#endif
ZdcShowerLibrary::Hit
Definition:
ZdcShowerLibrary.h:33
MessageLogger.h
ZdcShowerLibrary::Hit::Hit
Hit()
Definition:
ZdcShowerLibrary.h:34
ZdcShowerLibrary::Hit::entryLocal
G4ThreeVector entryLocal
Definition:
ZdcShowerLibrary.h:35
ZdcShowerLibrary::Hit::depth
int depth
Definition:
ZdcShowerLibrary.h:37
AlCaHLTBitMon_ParallelJobs.p
p
Definition:
AlCaHLTBitMon_ParallelJobs.py:153
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
convertSQLiteXML.ok
bool ok
Definition:
convertSQLiteXML.py:98
HcalZDCDetId::Section
Section
Definition:
HcalZDCDetId.h:23
DDCompactView
Compact representation of the geometrical detector hierarchy.
Definition:
DDCompactView.h:80
ZdcShowerLibrary::Hit::DeHad
double DeHad
Definition:
ZdcShowerLibrary.h:40
ZdcShowerLibrary::Hit::DeEM
double DeEM
Definition:
ZdcShowerLibrary.h:41
ParameterSet.h
ZdcShowerLibrary
Definition:
ZdcShowerLibrary.h:23
ZdcHardcodeGeometryData.h
ZdcShowerLibrary::getEnergyFromLibrary
int getEnergyFromLibrary(const G4ThreeVector &posHit, const G4ThreeVector &momDir, double energy, G4int parCode, HcalZDCDetId::Section section, bool side, int channel)
Definition:
ZdcShowerLibrary.cc:142
ZdcShowerLibrary::Hit::time
double time
Definition:
ZdcShowerLibrary.h:38
ZdcShowerLibrary::hits
std::vector< ZdcShowerLibrary::Hit > hits
Definition:
ZdcShowerLibrary.h:54
trackingPlots.section
section
Definition:
trackingPlots.py:1368
ZdcShowerLibrary::npe
int npe
Definition:
ZdcShowerLibrary.h:53
ZdcShowerLibrary::photonFluctuation
int photonFluctuation(double eav, double esig, double edis)
Definition:
ZdcShowerLibrary.cc:240
HcalZDCDetId.h
ZdcShowerLibrary::verbose
bool verbose
Definition:
ZdcShowerLibrary.h:51
DDsvalues.h
ZdcShowerLibrary::getHits
std::vector< Hit > & getHits(const G4Step *aStep, bool &ok)
Definition:
ZdcShowerLibrary.cc:32
ZdcShowerLibrary::Hit::detID
int detID
Definition:
ZdcShowerLibrary.h:39
ZdcShowerLibrary::ZdcShowerLibrary
ZdcShowerLibrary(const std::string &name, const DDCompactView &cpv, edm::ParameterSet const &p)
Definition:
ZdcShowerLibrary.cc:20
ZdcShowerLibrary::Hit::position
G4ThreeVector position
Definition:
ZdcShowerLibrary.h:36
edm::ParameterSet
Definition:
ParameterSet.h:36
dataset.name
name
Definition:
dataset.py:45
ZdcShowerLibrary::~ZdcShowerLibrary
~ZdcShowerLibrary()
Definition:
ZdcShowerLibrary.cc:29
Generated for CMSSW Reference Manual by
1.8.11