Main Page
Namespaces
Classes
Package Documentation
RecoParticleFlow
PFClusterTools
interface
Deposition.h
Go to the documentation of this file.
1
#ifndef DEPOSITION_HH_
2
#define DEPOSITION_HH_
3
#include <iostream>
4
5
#include <boost/shared_ptr.hpp>
6
7
#include "
RecoParticleFlow/PFClusterTools/interface/DetectorElement.h
"
8
9
namespace
pftools
{
10
20
class
Deposition
{
21
public
:
22
23
inline
void
setEnergy
(
double
energy) {
24
myEnergy
= energy;
25
}
26
27
28
inline
double
getEta
()
const
{
29
return
myEta
;
30
}
31
;
32
33
inline
double
getPhi
()
const
{
34
return
myPhi
;
35
}
36
;
37
38
inline
double
getEnergy
()
const
{
39
return
myEnergy
;
40
}
41
;
42
43
inline
DetectorElementPtr
getDetectorElement
()
const
{
44
return
myElementPtr
;
45
}
46
;
47
48
/*
49
* Returns the user specified "depth" for this deposition.
50
* Usually presumed to be zero.
51
* */
52
inline
double
getDepth
()
const
{
53
return
myDepth
;
54
}
55
;
56
57
Deposition
(
DetectorElementPtr
element,
double
eta
= 0.0,
double
phi = 0.0,
58
double
energy = 0.0,
double
depth
= 0.0);
59
60
virtual
~Deposition
();
61
62
private
:
63
//DetectorElement* myElement;
64
DetectorElementPtr
myElementPtr
;
65
66
double
myEta
;
67
double
myPhi
;
68
double
myEnergy
;
69
double
myDepth
;
70
};
71
72
typedef
boost::shared_ptr<Deposition>
DepositionPtr
;
73
74
/*
75
* Streams a description of this deposition into the supplied stream.
76
* */
77
std::ostream&
operator<<
(std::ostream&
s
,
const
Deposition
&
d
);
78
79
}
80
81
#endif
/*DEPOSITION_HH_*/
pftools::Deposition::myDepth
double myDepth
Definition:
Deposition.h:69
pftools::DepositionPtr
boost::shared_ptr< Deposition > DepositionPtr
Definition:
Deposition.h:72
pftools::Deposition::getDetectorElement
DetectorElementPtr getDetectorElement() const
Definition:
Deposition.h:43
alignCSCRings.s
s
Definition:
alignCSCRings.py:92
pftools::Deposition::getEnergy
double getEnergy() const
Definition:
Deposition.h:38
PVValHelper::eta
Definition:
PVValidationHelpers.h:65
pftools::Deposition::myEta
double myEta
Definition:
Deposition.h:66
pftools::Deposition::myEnergy
double myEnergy
Definition:
Deposition.h:68
DetectorElement.h
pftools::DetectorElementPtr
boost::shared_ptr< DetectorElement > DetectorElementPtr
Definition:
DetectorElement.h:83
edmIntegrityCheck.d
d
Definition:
edmIntegrityCheck.py:66
pftools
General option file parser.
Definition:
Calibratable.h:15
pftools::Deposition::myPhi
double myPhi
Definition:
Deposition.h:67
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::setEnergy
void setEnergy(double energy)
Definition:
Deposition.h:23
pftools::Deposition::~Deposition
virtual ~Deposition()
Definition:
Deposition.cc:9
pftools::Deposition::getDepth
double getDepth() const
Definition:
Deposition.h:52
pftools::operator<<
std::ostream & operator<<(std::ostream &s, const Calibratable &calib_)
Definition:
Calibratable.cc:6
pftools::Deposition::myElementPtr
DetectorElementPtr myElementPtr
Definition:
Deposition.h:64
pftools::Deposition::getPhi
double getPhi() const
Definition:
Deposition.h:33
pftools::Deposition::getEta
double getEta() const
Definition:
Deposition.h:28
egammaForCoreTracking_cff.depth
depth
Definition:
egammaForCoreTracking_cff.py:29
Generated for CMSSW Reference Manual by
1.8.11