Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
SimG4CMS
Calo
interface
HFShowerFibreBundle.h
Go to the documentation of this file.
1
#ifndef SimG4CMS_HFShowerFibreBundle_h
2
#define SimG4CMS_HFShowerFibreBundle_h
3
// File: HFShowerFibreBundle.h
5
// Description: Get energy deposits for HFShower PMT's
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
HFShowerFibreBundle
{
20
21
public
:
22
23
HFShowerFibreBundle
(std::string &
name
,
const
DDCompactView
& cpv,
24
edm::ParameterSet
const
&
p
);
25
virtual
~HFShowerFibreBundle
();
26
double
getHits
(G4Step * aStep,
bool
type
);
27
double
getRadius
();
28
29
private
:
30
31
std::vector<double>
getDDDArray
(
const
std::string&,
const
DDsvalues_type
&);
32
33
private
:
34
35
HFCherenkov
*
cherenkov1
, *
cherenkov2
;
36
double
facTube
,
facCone
;
//Packing factors
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
#endif // HFShowerFibreBundle_h
type
type
Definition:
HCALResponse.h:22
MessageLogger.h
HFShowerFibreBundle::~HFShowerFibreBundle
virtual ~HFShowerFibreBundle()
Definition:
HFShowerFibreBundle.cc:107
HFShowerFibreBundle::pmtFib1
std::vector< int > pmtFib1
Definition:
HFShowerFibreBundle.h:39
HFShowerFibreBundle::rTable
std::vector< double > rTable
Definition:
HFShowerFibreBundle.h:38
HFCherenkov.h
HFShowerFibreBundle::cherenkov2
HFCherenkov * cherenkov2
Definition:
HFShowerFibreBundle.h:35
HFCherenkov
Definition:
HFCherenkov.h:18
HFShowerFibreBundle::facTube
double facTube
Definition:
HFShowerFibreBundle.h:36
HFShowerFibreBundle::getHits
double getHits(G4Step *aStep, bool type)
Definition:
HFShowerFibreBundle.cc:112
DDCompactView
type of data representation of DDCompactView
Definition:
DDCompactView.h:81
HFShowerFibreBundle::indexF
int indexF
Definition:
HFShowerFibreBundle.h:37
AlCaRecoCosmics_cfg.name
tuple name
Definition:
AlCaRecoCosmics_cfg.py:24
ParameterSet.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
HFShowerFibreBundle::pmtR1
std::vector< int > pmtR1
Definition:
HFShowerFibreBundle.h:39
HFShowerFibreBundle::facCone
double facCone
Definition:
HFShowerFibreBundle.h:36
HFShowerFibreBundle::HFShowerFibreBundle
HFShowerFibreBundle(std::string &name, const DDCompactView &cpv, edm::ParameterSet const &p)
Definition:
HFShowerFibreBundle.cc:22
L1TEmulatorMonitor_cff.p
tuple p
Definition:
L1TEmulatorMonitor_cff.py:48
DDsvalues.h
HFShowerFibreBundle
Definition:
HFShowerFibreBundle.h:19
HFShowerFibreBundle::getRadius
double getRadius()
Definition:
HFShowerFibreBundle.cc:164
edm::ParameterSet
Definition:
ParameterSet.h:31
HFShowerFibreBundle::pmtR2
std::vector< int > pmtR2
Definition:
HFShowerFibreBundle.h:40
HFShowerFibreBundle::cherenkov1
HFCherenkov * cherenkov1
Definition:
HFShowerFibreBundle.h:35
HFShowerFibreBundle::pmtFib2
std::vector< int > pmtFib2
Definition:
HFShowerFibreBundle.h:40
HFShowerFibreBundle::indexR
int indexR
Definition:
HFShowerFibreBundle.h:37
HFShowerFibreBundle::getDDDArray
std::vector< double > getDDDArray(const std::string &, const DDsvalues_type &)
Definition:
HFShowerFibreBundle.cc:182
Generated for CMSSW Reference Manual by
1.8.5