Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
SimG4CMS
Calo
interface
HFShowerPMT.h
Go to the documentation of this file.
1
#ifndef SimG4CMS_HFShowerPMT_h
2
#define SimG4CMS_HFShowerPMT_h
3
// File: HFShowerPMT.h
5
// Description: Maps HF PMT's to given
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/HFCherenkov.h
"
12
13
class
DDCompactView
;
14
class
G4Step;
15
16
#include <string>
17
#include <vector>
18
19
class
HFShowerPMT
{
20
21
public
:
22
23
HFShowerPMT
(
std::string
&
name
,
const
DDCompactView
& cpv,
24
edm::ParameterSet
const
&
p
);
25
virtual
~HFShowerPMT
();
26
double
getHits
(G4Step * aStep);
27
double
getRadius
();
28
29
private
:
30
31
std::vector<double>
getDDDArray
(
const
std::string
&,
const
DDsvalues_type
&);
32
33
private
:
34
35
HFCherenkov
*
cherenkov
;
36
double
pePerGeV
;
// PE per GeV of energy deposit
37
int
indexR
,
indexF
;
38
std::vector<double>
rTable
;
// R-table
39
std::vector<int>
pmtR1
,
pmtFib1
;
// R-index, fibre table for right box
40
std::vector<int>
pmtR2
,
pmtFib2
;
// R-index, fibre table for left box
41
42
};
43
44
#endif // HFShowerPMT_h
HFShowerPMT::getRadius
double getRadius()
Definition:
HFShowerPMT.cc:150
MessageLogger.h
HFShowerPMT::indexR
int indexR
Definition:
HFShowerPMT.h:37
HFShowerPMT::rTable
std::vector< double > rTable
Definition:
HFShowerPMT.h:38
HFShowerPMT::indexF
int indexF
Definition:
HFShowerPMT.h:37
HFShowerPMT::pmtFib1
std::vector< int > pmtFib1
Definition:
HFShowerPMT.h:39
HFCherenkov.h
HFCherenkov
Definition:
HFCherenkov.h:19
DDCompactView
type of data representation of DDCompactView
Definition:
DDCompactView.h:76
mergeVDriftHistosByStation.name
string name
Definition:
mergeVDriftHistosByStation.py:77
HFShowerPMT::~HFShowerPMT
virtual ~HFShowerPMT()
Definition:
HFShowerPMT.cc:100
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
ParameterSet.h
HFShowerPMT::pePerGeV
double pePerGeV
Definition:
HFShowerPMT.h:36
HFShowerPMT::pmtR2
std::vector< int > pmtR2
Definition:
HFShowerPMT.h:40
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
HFShowerPMT::getDDDArray
std::vector< double > getDDDArray(const std::string &, const DDsvalues_type &)
Definition:
HFShowerPMT.cc:168
HFShowerPMT
Definition:
HFShowerPMT.h:19
HFShowerPMT::getHits
double getHits(G4Step *aStep)
Definition:
HFShowerPMT.cc:104
DDsvalues.h
AlCaHLTBitMon_ParallelJobs.p
tuple p
Definition:
AlCaHLTBitMon_ParallelJobs.py:152
edm::ParameterSet
Definition:
ParameterSet.h:36
HFShowerPMT::cherenkov
HFCherenkov * cherenkov
Definition:
HFShowerPMT.h:35
HFShowerPMT::HFShowerPMT
HFShowerPMT(std::string &name, const DDCompactView &cpv, edm::ParameterSet const &p)
Definition:
HFShowerPMT.cc:22
HFShowerPMT::pmtFib2
std::vector< int > pmtFib2
Definition:
HFShowerPMT.h:40
HFShowerPMT::pmtR1
std::vector< int > pmtR1
Definition:
HFShowerPMT.h:39
Generated for CMSSW Reference Manual by
1.8.5