]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
New classes for event summary data, track summary data, and vertex summary data
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 11 Apr 2002 07:33:40 +0000 (07:33 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 11 Apr 2002 07:33:40 +0000 (07:33 +0000)
STEER/AliESD.cxx [new file with mode: 0644]
STEER/AliESD.h [new file with mode: 0644]
STEER/Makefile
STEER/STEERLinkDef.h
STEER/libSTEER.pkg

diff --git a/STEER/AliESD.cxx b/STEER/AliESD.cxx
new file mode 100644 (file)
index 0000000..658cc9f
--- /dev/null
@@ -0,0 +1,59 @@
+/**************************************************************************
+ * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
+ *                                                                        *
+ * Author: The ALICE Off-line Project.                                    *
+ * Contributors are mentioned in the code where appropriate.              *
+ *                                                                        *
+ * Permission to use, copy, modify and distribute this software and its   *
+ * documentation strictly for non-commercial purposes is hereby granted   *
+ * without fee, provided that the above copyright notice appears in all   *
+ * copies and that both the copyright notice and this permission notice   *
+ * appear in the supporting documentation. The authors make no claims     *
+ * about the suitability of this software for any purpose. It is          *
+ * provided "as is" without express or implied warranty.                  *
+ **************************************************************************/
+
+/*
+$Log:
+*/
+
+///////////////////////////////////////////////////////////////////////////////
+//                                                                           //
+//                                                                           //
+///////////////////////////////////////////////////////////////////////////////
+
+#include "iostream.h"
+
+#include "AliESD.h"
+
+ClassImp(AliESD)
+
+//__________________________________________________________________________
+AliESD::AliESD() 
+{
+  cout << "ESD def ctor" << endl;
+}
+
+ClassImp(AliESDVertex)
+
+//__________________________________________________________________________
+AliESDVertex::AliESDVertex() 
+{
+  cout << "ESDVertex def ctor" << endl;
+  fCoordinates.Set(3);
+  fErrorMatrix.Set(6);
+}
+
+ClassImp(AliESDTrack)
+
+//__________________________________________________________________________
+AliESDTrack::AliESDTrack() 
+{
+  cout << "ESDTrack def ctor" << endl;
+  fPVertex.Set(5);
+  fPEVertex.Set(15);
+  fPFMeasPoint.Set(6);
+  fPFMeasPointErr.Set(15);
+  fPLMeasPoint.Set(6);
+  fPLMeasPointErr.Set(15);
+}
diff --git a/STEER/AliESD.h b/STEER/AliESD.h
new file mode 100644 (file)
index 0000000..e722c6e
--- /dev/null
@@ -0,0 +1,146 @@
+#ifndef ALIESD_H
+#define ALIESD_H
+/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
+ * See cxx source for full Copyright notice                               */
+
+/* $Id$ */
+
+///////////////////////////////////////////////////////////////////////////////
+//                                                                           //
+//   Alice ESD object                                                        //
+//                                                                           //
+///////////////////////////////////////////////////////////////////////////////
+
+#include "TObjArray.h"
+#include "TArrayI.h"
+#include "TArrayF.h"
+#include "TArrayD.h"
+
+class AliESDTrack
+{
+public:
+  AliESDTrack();
+  virtual ~AliESDTrack() {}
+  
+protected:
+  Int_t     fTrackID;        // Track number
+
+  // Track parameters at Vertex
+  TArrayD   fPVertex;        // (5) Track parameters
+  TArrayD   fPEVertex;       // (15) Track parameter errors
+  
+  // Track parameters at first measured point
+  TArrayD   fPFMeasPoint;        // (6) Track parameters
+  TArrayD   fPFMeasPointErr;     // (15) Track parameter error
+  
+  // Track parameters at last measured point
+  TArrayD   fPLMeasPoint;        // (6) Track parameters
+  TArrayD   fPLMeasPointErr;     // (15) Track parameter error
+
+  Float_t   fTrackLength;        // Track length
+  Float_t   fTrackLengthErr;     // Track length error
+  Int_t     fStopVertex;         // Index of stop vertex
+  
+  Int_t     fNPointsITS;         // Number of points in ITS
+  Int_t     fNPointsTPC;         // Number of points in TPC
+  Int_t     fNPointsTRD;         // Number of points in TRD
+  Float_t   fMeanResITS;         // Mean residual in ITS
+  Float_t   fMeanResTPC;         // Mean residual in TPC
+  Float_t   fMeanResTRD;         // Mean residual in TRD
+  Float_t   fGlobalChi2;         // Global chi square
+  Int_t     fParticleType;       // PDG code
+
+  Float_t   fPIDprobPi;          // PID probability for pi
+  Float_t   fPIDprobK;           // PID probability for K
+  Float_t   fPIDprobP;           // PID probability for p
+  Float_t   fPIDprobE;           // PID probability for e
+
+private:
+  AliESDTrack(const AliESDTrack &) {}
+  AliESDTrack & operator=(const AliESDTrack &) {return (*this);}
+  
+  ClassDef(AliESDTrack,1)  //ESDTrack 
+};
+
+
+class AliESDVertex
+{
+public:
+  AliESDVertex();
+  virtual ~AliESDVertex() {}
+  
+protected:
+  Int_t        fNPrimary;               // Number of primary tracks
+  TArrayF      fCoordinates;            // (3) Vertex coordinates
+  TArrayF      fErrorMatrix;            // (6) Error Matrix
+  TObjArray    fPrimaryTracks;          // List of primary tracks
+  Float_t      fEffectiveMass;          // Effective Mass
+  Float_t      fEffectiveMassError;     // Effective Mass Error
+private:
+  AliESDVertex(const AliESDVertex &) {}
+  AliESDVertex & operator=(const AliESDVertex &) {return (*this);}
+  
+  ClassDef(AliESDVertex,1)  //ESDVertex 
+};
+
+class AliESD 
+{
+public:
+  AliESD();
+  virtual ~AliESD() {}
+
+  Int_t EventNumber() const {return fEventNumber;}
+  Int_t RunNumber() const {return fRunNumber;}
+  Long_t Trigger() const {return fTrigger;}
+  
+  Int_t BitDDL() const {return fBitDDL;}
+  Int_t NSecVertex() const {return fNSecVertex;}
+  Float_t NParticipants() const {return fNParticipants;}
+  
+  
+protected:
+
+  // Event Identification
+  Int_t        fEventNumber;            // Event Number
+  Int_t        fRunNumber;              // Run Number
+  Long_t       fTrigger;                // Trigger Type (cfg Transverse Energy&Max trans ch mom)
+  Int_t        fRecoVersion;            // Version of reconstruction 
+
+  // Summary Information
+  Int_t        fBitDDL;                 // Bitmap of active DDL
+  Int_t        fNSecVertex;             // Number of Secondary Vertexes
+  Float_t      fNParticipants;          // Estimated Number of participants
+  Float_t      fNPartError;             // N of participant error
+  Int_t        fNElectron;              // N of electrons
+  Int_t        fNMuons;                 // N of muons
+  Int_t        fNPions;                 // N of pions
+  Int_t        fNKaons;                 // N of kaons
+  Int_t        fNProtons;               // N of protons
+  Int_t        fNPHOSPhotons;           // N of photons in PHOS
+  Int_t        fNPHOSNeutrons;          // N of neutrons in PHOS
+  Int_t        fNPHOSCCluster;          // N of charged clusters in PHOS
+  Int_t        fNEMCALCluster;          // N of clusters in EMCAL
+  Int_t        fNPMDCluster;            // N of clusters in PMD
+  Float_t      fTMaxClusterEnergy;      // Transverse energy of biggest cluster
+  Float_t      fTMaxPCharged;           // Biggest transverse momentum of charged particles
+  TArrayI      fNCharged;               // Charged Multiplicity
+  Float_t      fTotTranEnergy;          // Total transverse energy
+
+  // Primary Vertex Object
+  AliESDVertex fESDVertex;              // Primary Vertex Object
+  TObjArray    fSecVertex;              // List secondary vertexes
+  TObjArray    fNonAssTrack;            // List of non assigned tracks
+  TObjArray    fPhoton;                 // List of photons
+  TObjArray    fNeutron;                // List of neutrons
+  TObjArray    fEMCALCluster;           // List of EMCAL clusters
+  TObjArray    fPMDCluster;             // List of PMD clusters
+
+private:
+  AliESD(const AliESD &) {}
+  AliESD & operator=(const AliESD &) {return (*this);}
+  
+  ClassDef(AliESD,1)  //ESD 
+};
+
+#endif 
+
index f619f04538fd21eb5111ebab9b50eab12ff60df3..928e300478fcfc65fcb978f528872a91809041da 100644 (file)
@@ -24,7 +24,7 @@ SRCS          = AliDetector.cxx       AliHeader.cxx   AliMagF.cxx \
                AliRunDigitizer.cxx AliDigitizer.cxx\
                AliStream.cxx AliMergeCombi.cxx \
                AliMagFMaps.cxx AliFieldMap.cxx \
-        AliGausCorr.cxx
+        AliGausCorr.cxx AliESD.cxx
 
 # C++ Headers
 
index aea6cc0ae4e8fdfa567740145aabf687b774bb32..ff4c2f454b7dcb44e20bf75d9c577342172e2bbf 100644 (file)
@@ -56,6 +56,7 @@
 #pragma link C++ class  AliMergeCombi+;
 #pragma link C++ class  AliFieldMap-;
 #pragma link C++ class  AliGausCorr+;
+#pragma link C++ class  AliESD+;
 
 #endif
 
index b74335174aea458e0cff9c076cd5a306f9a71249..04cb976c2dac5b04d7ec6698efb092c74729eb44 100644 (file)
@@ -13,7 +13,7 @@ AliMCQA.cxx AliPDG.cxx AliDebugVolume.cxx \
 AliGenEventHeader.cxx AliStack.cxx AliConfig.cxx \
 AliRunDigitizer.cxx AliDigitizer.cxx AliStream.cxx \
 AliMergeCombi.cxx AliMagFMaps.cxx AliFieldMap.cxx \
-AliGausCorr.cxx
+AliGausCorr.cxx AliESD.cxx
 
 HDRS:= $(SRCS:.cxx=.h)