CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_10_patch1/src/DPGAnalysis/SiStripTools/interface/EventShape.h

Go to the documentation of this file.
00001 #include <DataFormats/TrackReco/interface/TrackFwd.h>
00002 #include <DataFormats/Math/interface/LorentzVectorFwd.h>
00003 #include <TVector3.h>
00004 #include <vector>
00005 
00006 class EventShape 
00007 {
00008   public:
00009   
00010     static math::XYZTLorentzVectorF thrust(const reco::TrackCollection&);
00011     static float sphericity(const reco::TrackCollection&);
00012     static float aplanarity(const reco::TrackCollection&);
00013     static float planarity(const reco::TrackCollection&);
00014 
00015     EventShape(reco::TrackCollection&);
00016 
00017     math::XYZTLorentzVectorF thrust() const;
00018     float sphericity() const;
00019     float aplanarity() const;
00020     float planarity() const;
00021     
00022   private:
00023 
00024      std::vector<TVector3> p;
00025      std::vector<float> eigenvalues;
00026      
00027 };