PandaRoot
RhoEventShape.h
Go to the documentation of this file.
1 //****************************************************************************
2 //* This file is part of PandaRoot. *
3 //* *
4 //* PandaRoot is distributed under the terms of the *
5 //* GNU General Public License (GPL) version 3, *
6 //* copied verbatim in the file "LICENSE". *
7 //* *
8 //* Copyright (C) 2006 - 2024 FAIR GmbH and copyright holders of PandaRoot *
9 //* The copyright holders are listed in the file "COPYRIGHTHOLDERS". *
10 //* The authors are listed in the file "AUTHORS". *
11 //****************************************************************************
12 
13 // Definition of the RhoEventShape class
14 // Author: Jens Brose, TUD, Aug. 1999
15 // Ralf Kliemt, HIM/GSI Feb.2013 (Cleanup & Restructuring)
16 //--------------------------------------------------------------------------
17 
18 #ifndef RHOEVENTSHAPE_H
19 #define RHOEVENTSHAPE_H
20 
21 #include "TObject.h"
22 #include "TLorentzVector.h"
23 #include "RhoCandidate.h"
24 #include "RhoCandList.h"
25 
26 class RhoEventShape : public TObject {
27  public:
28  RhoEventShape();
30  virtual ~RhoEventShape();
31 
32  inline TLorentzVector P4() { return fTot4Mom; }
33  // inline Double_t FoxWolfram() { return _fw2; }
34  inline Double_t M() { return fTotM; }
35  inline Double_t E() { return fTotE; }
36  inline Double_t P() { return fTotP; }
37  inline Double_t Pt() { return fTotPt; }
38  inline Double_t Psum() { return fTotAbsMom; }
39 
40  private:
41  TLorentzVector fTot4Mom;
42  // Double_t _fw2;
43  Double_t fTotM;
44  Double_t fTotE;
45  Double_t fTotP;
46  Double_t fTotPt;
47  Double_t fTotAbsMom;
48 
49  public:
50  ClassDef(RhoEventShape, 1) // Calculate event shape variables
51 };
52 
53 #endif
virtual ~RhoEventShape()
Double_t Psum()
Definition: RhoEventShape.h:38
Double_t E()
Definition: RhoEventShape.h:35
Double_t M()
Definition: RhoEventShape.h:34
Double_t Pt()
Definition: RhoEventShape.h:37
TLorentzVector P4()
Definition: RhoEventShape.h:32
Double_t P()
Definition: RhoEventShape.h:36