src
DPGAnalysis
SiStripTools
interface
EventShape.h
Go to the documentation of this file.
1
#include <
DataFormats/TrackReco/interface/TrackFwd.h
>
2
#include <
DataFormats/Math/interface/LorentzVectorFwd.h
>
3
#include <TVector3.h>
4
#include <vector>
5
6
class
EventShape
{
7
public
:
8
static
math::XYZTLorentzVectorF
thrust
(
const
reco::TrackCollection
&);
9
static
float
sphericity
(
const
reco::TrackCollection
&);
10
static
float
aplanarity
(
const
reco::TrackCollection
&);
11
static
float
planarity
(
const
reco::TrackCollection
&);
12
13
EventShape
(
reco::TrackCollection
&);
14
15
math::XYZTLorentzVectorF
thrust
()
const
;
16
float
sphericity
()
const
;
17
float
aplanarity
()
const
;
18
float
planarity
()
const
;
19
20
private
:
21
std::vector<TVector3>
p
;
22
std::vector<float>
eigenvalues
;
23
};
EventShape::EventShape
EventShape(reco::TrackCollection &)
Definition:
EventShape.cc:14
reco::TrackCollection
std::vector< Track > TrackCollection
collection of Tracks
Definition:
TrackFwd.h:14
LorentzVectorFwd.h
TrackFwd.h
EventShape::eigenvalues
std::vector< float > eigenvalues
Definition:
EventShape.h:22
EventShape::planarity
float planarity() const
Definition:
EventShape.cc:314
EventShape::aplanarity
float aplanarity() const
Definition:
EventShape.cc:309
EventShape::thrust
math::XYZTLorentzVectorF thrust() const
Definition:
EventShape.cc:37
EventShape::sphericity
float sphericity() const
Definition:
EventShape.cc:304
math::XYZTLorentzVectorF
ROOT::Math::LorentzVector< ROOT::Math::PxPyPzE4D< float > > XYZTLorentzVectorF
Lorentz vector with cylindrical internal representation using pseudorapidity.
Definition:
LorentzVector.h:22
EventShape::p
std::vector< TVector3 > p
Definition:
EventShape.h:21
EventShape
Definition:
EventShape.h:6
Generated for CMSSW Reference Manual by
1.8.14