Validation
EcalClusters
interface
EcalSimPhotonMCTruth.h
Go to the documentation of this file.
1
#ifndef EcalSimPhotonMCTruth_h
2
#define EcalSimPhotonMCTruth_h
3
4
#include "
DataFormats/GeometryVector/interface/GlobalPoint.h
"
5
#include "
SimDataFormats/Track/interface/SimTrack.h
"
6
#include <vector>
7
16
class
EcalSimPhotonMCTruth
{
17
public
:
18
EcalSimPhotonMCTruth
()
19
:
isAConversion_
(0),
thePhoton_
(0., 0., 0., 0.),
theR_
(0.),
theZ_
(0.),
theConvVertex_
(0., 0., 0., 0.){};
20
21
EcalSimPhotonMCTruth
(
const
math::XYZTLorentzVectorD
&
v
) :
thePhoton_
(
v
){};
22
23
EcalSimPhotonMCTruth
(
int
isAConversion
,
24
const
math::XYZTLorentzVectorD
&
v
,
25
float
rconv,
26
float
zconv,
27
const
math::XYZTLorentzVectorD
&convVertex,
28
const
math::XYZTLorentzVectorD
&pV,
29
const
std::vector<const SimTrack *> &
tracks
);
30
31
math::XYZTLorentzVectorD
primaryVertex
()
const
{
return
thePrimaryVertex_
; }
32
int
isAConversion
()
const
{
return
isAConversion_
; }
33
float
radius
()
const
{
return
theR_
; }
34
float
z
()
const
{
return
theZ_
; }
35
math::XYZTLorentzVectorD
fourMomentum
()
const
{
return
thePhoton_
; }
36
math::XYZTLorentzVectorD
vertex
()
const
{
return
theConvVertex_
; }
37
std::vector<const SimTrack *>
simTracks
()
const
{
return
tracks_
; }
38
39
private
:
40
int
isAConversion_
;
41
math::XYZTLorentzVectorD
thePhoton_
;
42
float
theR_
;
43
float
theZ_
;
44
math::XYZTLorentzVectorD
theConvVertex_
;
45
math::XYZTLorentzVectorD
thePrimaryVertex_
;
46
std::vector<const SimTrack *>
tracks_
;
47
};
48
49
#endif
PDWG_EXOHSCP_cff.tracks
tracks
Definition:
PDWG_EXOHSCP_cff.py:28
EcalSimPhotonMCTruth::tracks_
std::vector< const SimTrack * > tracks_
Definition:
EcalSimPhotonMCTruth.h:46
EcalSimPhotonMCTruth::theZ_
float theZ_
Definition:
EcalSimPhotonMCTruth.h:43
math::XYZTLorentzVectorD
ROOT::Math::LorentzVector< ROOT::Math::PxPyPzE4D< double > > XYZTLorentzVectorD
Lorentz vector with cylindrical internal representation using pseudorapidity.
Definition:
LorentzVector.h:14
EcalSimPhotonMCTruth::vertex
math::XYZTLorentzVectorD vertex() const
Definition:
EcalSimPhotonMCTruth.h:36
EcalSimPhotonMCTruth::z
float z() const
Definition:
EcalSimPhotonMCTruth.h:34
findQualityFiles.v
v
Definition:
findQualityFiles.py:179
EcalSimPhotonMCTruth::thePhoton_
math::XYZTLorentzVectorD thePhoton_
Definition:
EcalSimPhotonMCTruth.h:41
EcalSimPhotonMCTruth::primaryVertex
math::XYZTLorentzVectorD primaryVertex() const
Definition:
EcalSimPhotonMCTruth.h:31
EcalSimPhotonMCTruth::theR_
float theR_
Definition:
EcalSimPhotonMCTruth.h:42
EcalSimPhotonMCTruth::EcalSimPhotonMCTruth
EcalSimPhotonMCTruth(const math::XYZTLorentzVectorD &v)
Definition:
EcalSimPhotonMCTruth.h:21
EcalSimPhotonMCTruth::isAConversion_
int isAConversion_
Definition:
EcalSimPhotonMCTruth.h:40
EcalSimPhotonMCTruth
Definition:
EcalSimPhotonMCTruth.h:16
EcalSimPhotonMCTruth::fourMomentum
math::XYZTLorentzVectorD fourMomentum() const
Definition:
EcalSimPhotonMCTruth.h:35
EcalSimPhotonMCTruth::simTracks
std::vector< const SimTrack * > simTracks() const
Definition:
EcalSimPhotonMCTruth.h:37
EcalSimPhotonMCTruth::radius
float radius() const
Definition:
EcalSimPhotonMCTruth.h:33
EcalSimPhotonMCTruth::thePrimaryVertex_
math::XYZTLorentzVectorD thePrimaryVertex_
Definition:
EcalSimPhotonMCTruth.h:45
EcalSimPhotonMCTruth::EcalSimPhotonMCTruth
EcalSimPhotonMCTruth()
Definition:
EcalSimPhotonMCTruth.h:18
EcalSimPhotonMCTruth::isAConversion
int isAConversion() const
Definition:
EcalSimPhotonMCTruth.h:32
SimTrack.h
GlobalPoint.h
EcalSimPhotonMCTruth::theConvVertex_
math::XYZTLorentzVectorD theConvVertex_
Definition:
EcalSimPhotonMCTruth.h:44
Generated for CMSSW Reference Manual by
1.8.16