]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWG2/FEMTOSCOPY/AliFemto/AliFemtoTrack.h
Making the directory structure of AliFemto flat. All files go into one common directory
[u/mrichter/AliRoot.git] / PWG2 / FEMTOSCOPY / AliFemto / AliFemtoTrack.h
similarity index 60%
rename from PWG2/FEMTOSCOPY/AliFemto/Infrastructure/AliFemtoTrack.h
rename to PWG2/FEMTOSCOPY/AliFemto/AliFemtoTrack.h
index 5c9ae6de2ddf899ad06ed8f74b3a5386bb116623..108bb473f5d28a5b4b6e0411b6dc1413572a6b58 100644 (file)
@@ -1,27 +1,21 @@
-/***************************************************************************
- *
- * $Id$
- *
- * Author: Mike Lisa, Ohio State, lisa@mps.ohio-state.edu
- ***************************************************************************
- *
- * Description: part of STAR HBT Framework: AliFemtoMaker package
- *    Intermediate format for particle.  This is built from the
- *    input particle format (e.g. StTrack of StEvent) and presented to
- *    the Analyses for ParticleCuts.
- *
- ***************************************************************************
- *  ... Lots of stuff deleted here ...
- **************************************************************************/
+///////////////////////////////////////////////////////////////////////////
+//                                                                       //
+// AliFemtoTrack: main class holding all the necessary information       //
+// about a track (before the identification) that is required during     //
+// femtoscopic analysis. This class is filled with information from the  //
+// input stream by the reader. A particle has a link back to the Track   //
+// it was created from, so we do not copy the information.               //
+//                                                                       //
+///////////////////////////////////////////////////////////////////////////
 
-#ifndef AliFemtoTrack_hh
-#define AliFemtoTrack_hh
+#ifndef ALIFEMTOTRACK_H
+#define ALIFEMTOTRACK_H
 
-#include "Infrastructure/AliFemtoTypes.h"
+#include "AliFemtoTypes.h"
 #include "AliFmPhysicalHelixD.h"
 #include "TBits.h"
 /* Th stuff */
-#include "Base/AliFemtoHiddenInfo.h"
+#include "AliFemtoHiddenInfo.h"
 /***/
 
 #ifndef __NO_STAR_DEPENDENCE_ALLOWED__
@@ -34,7 +28,7 @@ class StMuTrack;
 class AliFemtoTrack{
 public:
   AliFemtoTrack();
-  AliFemtoTrack(const AliFemtoTrack&);// copy constructor
+  AliFemtoTrack(const AliFemtoTrack& aTrack);// copy constructor
   AliFemtoTrack& operator=(const AliFemtoTrack& aTrack);
 #ifndef __NO_STAR_DEPENDENCE_ALLOWED__
 #ifdef __ROOT__
@@ -77,32 +71,32 @@ public:
   const TBits& TPCclusters() const;
   const TBits& TPCsharing()  const;
   
-  void SetCharge(const short&);
-  void SetPidProbElectron(const float&);
-  void SetPidProbPion(const float&);
-  void SetPidProbKaon(const float&);
-  void SetPidProbProton(const float&);
-  void SetPidProbMuon(const float&);
+  void SetCharge(const short& s);
+  void SetPidProbElectron(const float& x);
+  void SetPidProbPion(const float& x);
+  void SetPidProbKaon(const float& x);
+  void SetPidProbProton(const float& x);
+  void SetPidProbMuon(const float& x);
    
   void SetP(const AliFemtoThreeVector&);
-  void SetPt(const float&);
+  void SetPt(const float& x);
   void SetHelix(const AliFmPhysicalHelixD&);
-  void SetTrackId(const short&);
-  void SetFlags(const long int&);
-  void SetLabel(const int&);
-  void SetImpactD(const float&);
-  void SetImpactZ(const float&);
-  void SetCdd(const float&);
-  void SetCdz(const float&);
-  void SetCzz(const float&);
+  void SetTrackId(const short& s);
+  void SetFlags(const long int& i);
+  void SetLabel(const int& i);
+  void SetImpactD(const float& x);
+  void SetImpactZ(const float& x);
+  void SetCdd(const float& x);
+  void SetCdz(const float& x);
+  void SetCzz(const float& x);
   
-  void SetITSchi2(const float&);    
-  void SetITSncls(const int&);     
-  void SetTPCchi2(const float&);       
-  void SetTPCncls(const int&);       
-  void SetTPCnclsF(const short&);      
-  void SetTPCsignalN(const short&);    
-  void SetTPCsignalS(const float&);   
+  void SetITSchi2(const float& x);    
+  void SetITSncls(const int& i);     
+  void SetTPCchi2(const float& x);       
+  void SetTPCncls(const int& i);       
+  void SetTPCnclsF(const short& s);      
+  void SetTPCsignalN(const short& s);    
+  void SetTPCsignalS(const float& x);   
 
   void SetTPCcluster(const short& aNBit, const Bool_t& aValue);
   void SetTPCshared(const short& aNBit, const Bool_t& aValue);
@@ -111,11 +105,11 @@ public:
   void SetHiddenInfo(AliFemtoHiddenInfo* aHiddenInfo);
   bool ValidHiddenInfo() const;
   // Fab private : (official : const AliFemtoHiddenInfo* HiddenInfo() const;
-  AliFemtoHiddenInfo* getHiddenInfo() const;
+  AliFemtoHiddenInfo* GetHiddenInfo() const;
   /***/
   
   //Alice stuff
-   enum {
+  enum {
     kITSin=0x0001,kITSout=0x0002,kITSrefit=0x0004,kITSpid=0x0008,
     kTPCin=0x0010,kTPCout=0x0020,kTPCrefit=0x0040,kTPCpid=0x0080,
     kTRDin=0x0100,kTRDout=0x0200,kTRDrefit=0x0400,kTRDpid=0x0800,
@@ -126,20 +120,20 @@ public:
     kESDpid=0x40000000,
     kTIME=0x80000000
   };
-
-private:
-  char fCharge;
-  float fPidProbElectron; // new
-  float fPidProbPion; // new
-  float fPidProbKaon; // new
-  float fPidProbProton; // new
-  float fPidProbMuon; //new 
-  unsigned int fTrackId;
+  
+ private:
+  char fCharge;           // track charge
+  float fPidProbElectron; // electron pid
+  float fPidProbPion;     // pion pid 
+  float fPidProbKaon;     // kaon pid 
+  float fPidProbProton;   // proton pid
+  float fPidProbMuon;     // muon pid
+  unsigned int fTrackId;  // track unique id
 
 
-  AliFemtoThreeVector fP;
-  float fPt;
-  AliFmPhysicalHelixD fHelix;
+  AliFemtoThreeVector fP; // track momentum
+  float fPt;              // transverse momenta
+  AliFmPhysicalHelixD fHelix; // track helix
 
   //alice stuff
   long int fFlags; //Reconsruction status flags
@@ -156,13 +150,13 @@ private:
   short fTPCnclsF;      // number of findable clusters in the TPC
   short fTPCsignalN;    // number of points used for dEdx
   float fTPCsignalS;    // RMS of dEdx measurement
-  TBits fClusters;
-  TBits fShared;
+  TBits fClusters;      // Cluster per padrow map
+  TBits fShared;        // Sharing per padrow map
   
   /* Th stuff */
   // Fab private : add mutable
   //  mutable 
-  AliFemtoHiddenInfo* fHiddenInfo; //!
+  AliFemtoHiddenInfo* fHiddenInfo; //! hidden info
   /***/
 };