CMS 3D CMS Logo

EventShape.h
Go to the documentation of this file.
3 #include <TVector3.h>
4 #include <vector>
5 
6 class EventShape {
7 public:
9  static float sphericity(const reco::TrackCollection&);
10  static float aplanarity(const reco::TrackCollection&);
11  static float planarity(const reco::TrackCollection&);
12 
14 
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 };
float aplanarity() const
Definition: EventShape.cc:309
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:37
std::vector< float > eigenvalues
Definition: EventShape.h:22
float sphericity() const
Definition: EventShape.cc:304
float planarity() const
Definition: EventShape.cc:314
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:21