CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EventShape.h
Go to the documentation of this file.
3 #include <TVector3.h>
4 #include <vector>
5 
6 class EventShape
7 {
8  public:
9 
11  static float sphericity(const reco::TrackCollection&);
12  static float aplanarity(const reco::TrackCollection&);
13  static float planarity(const reco::TrackCollection&);
14 
16 
18  float sphericity() const;
19  float aplanarity() const;
20  float planarity() const;
21 
22  private:
23 
24  std::vector<TVector3> p;
25  std::vector<float> eigenvalues;
26 
27 };
float aplanarity() const
Definition: EventShape.cc:307
EventShape(reco::TrackCollection &)
Definition: EventShape.cc:14
std::vector< Track > TrackCollection
collection of Tracks
Definition: TrackFwd.h:14
math::XYZTLorentzVectorF thrust() const
Definition: EventShape.cc:38
std::vector< float > eigenvalues
Definition: EventShape.h:25
float sphericity() const
Definition: EventShape.cc:301
float planarity() const
Definition: EventShape.cc:313
ROOT::Math::LorentzVector< ROOT::Math::PxPyPzE4D< float > > XYZTLorentzVectorF
Lorentz vector with cylindrical internal representation using pseudorapidity.
Definition: LorentzVector.h:22
std::vector< TVector3 > p
Definition: EventShape.h:24