Main Page
Namespaces
Classes
Package Documentation
RecoParticleFlow
PFClusterTools
src
Deposition.cc
Go to the documentation of this file.
1
#include "
RecoParticleFlow/PFClusterTools/interface/Deposition.h
"
2
using namespace
pftools
;
3
Deposition::Deposition
(
DetectorElementPtr
element,
double
eta
,
double
phi,
4
double
energy,
double
depth
) :
5
myElementPtr(element), myEta(eta), myPhi(phi),
myEnergy
(energy),
6
myDepth(depth) {
7
}
8
9
Deposition::~Deposition
() {
10
}
11
12
std::ostream&
pftools::operator<<
(std::ostream&
s
,
const
Deposition
&
d
) {
13
s <<
"Deposit's type: "
<< *(d.
getDetectorElement
()) <<
"\tE:\t"
<< d.
getEnergy
()
14
<<
", \teta:\t"
<< d.
getEta
() <<
", \tmyPhi:\t"
<< d.
getPhi
() <<
"\n"
;
15
return
s
;
16
}
stringResolutionProvider_cfi.eta
eta
Definition:
stringResolutionProvider_cfi.py:14
pftools::Deposition::getDetectorElement
DetectorElementPtr getDetectorElement() const
Definition:
Deposition.h:43
alignCSCRings.s
s
Definition:
alignCSCRings.py:91
pftools::Deposition::getEnergy
double getEnergy() const
Definition:
Deposition.h:38
Deposition.h
ecalTB2006H4_GenSimDigiReco_cfg.myEnergy
myEnergy
Definition:
ecalTB2006H4_GenSimDigiReco_cfg.py:8
particleFlowClusterECALTimeSelected_cfi.depth
depth
Definition:
particleFlowClusterECALTimeSelected_cfi.py:8
pftools::DetectorElementPtr
boost::shared_ptr< DetectorElement > DetectorElementPtr
Definition:
DetectorElement.h:83
edmIntegrityCheck.d
d
Definition:
edmIntegrityCheck.py:65
pftools
General option file parser.
Definition:
Calibratable.h:15
pftools::Deposition
This class holds an arbitrary energy deposition, specified in terms of angular position, energy, depth (optional) and detector element type.
Definition:
Deposition.h:20
pftools::Deposition::Deposition
Deposition(DetectorElementPtr element, double eta=0.0, double phi=0.0, double energy=0.0, double depth=0.0)
Definition:
Deposition.cc:3
pftools::Deposition::~Deposition
virtual ~Deposition()
Definition:
Deposition.cc:9
pftools::operator<<
std::ostream & operator<<(std::ostream &s, const Calibratable &calib_)
Definition:
Calibratable.cc:6
pftools::Deposition::getPhi
double getPhi() const
Definition:
Deposition.h:33
pftools::Deposition::getEta
double getEta() const
Definition:
Deposition.h:28
Generated for CMSSW Reference Manual by
1.8.11