]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG4/JetCorrel/CorrelRecoParent.h
JetCorrel correction of coding violations, and other style and memory consumption...
[u/mrichter/AliRoot.git] / PWG4 / JetCorrel / CorrelRecoParent.h
1 #ifndef CORRELRECOPARENT_H
2 #define CORRELRECOPARENT_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice     */
5 /* $Id:  $ */
6
7 //______________________________________________________________________________
8 // Container class for reconstructed parents. Reconstruction method uses
9 // AliKFParticle or TLorentzVector as indicated by kUseAliKF set in CorrelDefs.h
10 //-- Author: Paul Constantin
11
12 #include "CorrelParticle.h"
13 #include "CorrelKFTrack.h"
14
15 class CorrelRecoParent_t : public CorrelParticle_t {      
16  public:
17   CorrelRecoParent_t();
18   virtual ~CorrelRecoParent_t() {;}
19   CorrelRecoParent_t& operator=(const CorrelRecoParent_t& rhs);
20   virtual CorrelRecoParent_t* Copy();
21   
22   Float_t Assym()   const {return fAssym;}
23   Float_t OpenAng() const {return fOpenAng;}
24   AliESDEvent* Evt()  const {return fjcESD;}
25   Bool_t Reconstruct(CorrelParticle_t* p1, CorrelParticle_t* p2, Bool_t kUseAliKF);
26   void SetEvent(AliESDEvent * const v) {fjcESD=v;}
27   
28   virtual void Show() const;
29   
30  private:
31   Float_t fAssym;   // children energy assymetry
32   Float_t fOpenAng; // children opening angle
33   AliESDEvent* fjcESD;  // input event (ESD or AOD)
34   
35   // disable (make private) the copy constructor
36   CorrelRecoParent_t(const CorrelRecoParent_t &p);
37   
38   Bool_t NotInMass(PartType_t ID, Float_t mass);
39 };
40
41 #endif