PandaRoot
RhoEventShape.h
Go to the documentation of this file.
1 // Definition of the RhoEventShape class
2 // Author: Jens Brose, TUD, Aug. 1999
3 // Ralf Kliemt, HIM/GSI Feb.2013 (Cleanup & Restructuring)
4 //--------------------------------------------------------------------------
5 
6 #ifndef RHOEVENTSHAPE_H
7 #define RHOEVENTSHAPE_H
8 
9 #include "TObject.h"
10 #include "TLorentzVector.h"
11 #include "RhoCandidate.h"
12 #include "RhoCandList.h"
13 
14 class RhoEventShape : public TObject {
15  public:
16  RhoEventShape();
18  virtual ~RhoEventShape();
19 
20  inline TLorentzVector P4() { return fTot4Mom; }
21  // inline Double_t FoxWolfram() { return _fw2; }
22  inline Double_t M() { return fTotM; }
23  inline Double_t E() { return fTotE; }
24  inline Double_t P() { return fTotP; }
25  inline Double_t Pt() { return fTotPt; }
26  inline Double_t Psum() { return fTotAbsMom; }
27 
28  private:
29  TLorentzVector fTot4Mom;
30  // Double_t _fw2;
31  Double_t fTotM;
32  Double_t fTotE;
33  Double_t fTotP;
34  Double_t fTotPt;
35  Double_t fTotAbsMom;
36 
37  public:
38  ClassDef(RhoEventShape, 1) // Calculate event shape variables
39 };
40 
41 #endif
virtual ~RhoEventShape()
Double_t Psum()
Definition: RhoEventShape.h:26
Double_t E()
Definition: RhoEventShape.h:23
Double_t M()
Definition: RhoEventShape.h:22
Double_t Pt()
Definition: RhoEventShape.h:25
TLorentzVector P4()
Definition: RhoEventShape.h:20
Double_t P()
Definition: RhoEventShape.h:24