First revision of 'detailed' or 'detector' pid information.
authormarkus <markus@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 23 Nov 2007 15:02:21 +0000 (15:02 +0000)
committermarkus <markus@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 23 Nov 2007 15:02:21 +0000 (15:02 +0000)
STEER/AODLinkDef.h
STEER/AliAODPid.cxx [new file with mode: 0644]
STEER/AliAODPid.h [new file with mode: 0644]
STEER/libAOD.pkg

index cf18426..97abd08 100644 (file)
@@ -17,6 +17,7 @@
 #pragma link C++ class AliAODEvent+;
 #pragma link C++ class AliAODHeader+;
 #pragma link C++ class AliAODTrack+;
+#pragma link C++ class AliAODPid+;
 #pragma link C++ class AliAODVertex+;
 #pragma link C++ class AliAODCluster+;
 #pragma link C++ class AliAODCaloCluster+;
diff --git a/STEER/AliAODPid.cxx b/STEER/AliAODPid.cxx
new file mode 100644 (file)
index 0000000..4293476
--- /dev/null
@@ -0,0 +1,56 @@
+/**************************************************************************
+ * Copyright(c) 1998-2007, 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.                  *
+ **************************************************************************/
+
+/* $Id$ */
+
+//-------------------------------------------------------------------------
+//     AOD Pid class to store additional pid information
+//     Author: Markus Oldenburg, CERN
+//-------------------------------------------------------------------------
+
+#include "AliAODPid.h"
+
+ClassImp(AliAODPid)
+
+//______________________________________________________________________________
+  AliAODPid::AliAODPid()
+{
+  // default constructor
+}
+
+//______________________________________________________________________________
+AliAODPid::~AliAODPid() 
+{
+  // destructor
+}
+
+
+//______________________________________________________________________________
+AliAODPid::AliAODPid(const AliAODPid& pid) : 
+  TObject(pid)
+{
+  // Copy constructor
+}
+
+//______________________________________________________________________________
+AliAODPid& AliAODPid::operator=(const AliAODPid& pid)
+{
+  // Assignment operator
+  if(this!=&pid) {
+    // copy stuff
+  }
+
+  return *this;
+}
diff --git a/STEER/AliAODPid.h b/STEER/AliAODPid.h
new file mode 100644 (file)
index 0000000..86a9a18
--- /dev/null
@@ -0,0 +1,29 @@
+#ifndef AliAODPid_H
+#define AliAODPid_H
+/* Copyright(c) 1998-2007, ALICE Experiment at CERN, All rights reserved. *
+ * See cxx source for full Copyright notice                               */
+
+/* $Id$ */
+
+//-------------------------------------------------------------------------
+//     AOD Pid object for additional pid information
+//     Author: Markus Oldenburg, CERN
+//-------------------------------------------------------------------------
+
+#include <TObject.h>
+
+class AliAODPid : public TObject {
+
+ public:
+  
+  AliAODPid();
+  virtual ~AliAODPid();
+  AliAODPid(const AliAODPid& pid); 
+  AliAODPid& operator=(const AliAODPid& pid);
+
+ private :
+
+  ClassDef(AliAODPid,1);
+};
+
+#endif
index 55ceec5..efc8524 100644 (file)
@@ -1,5 +1,5 @@
 SRCS = AliAODEvent.cxx AliAODHeader.cxx \
-       AliAODTrack.cxx AliAODVertex.cxx \
+       AliAODTrack.cxx AliAODPid.cxx AliAODVertex.cxx \
        AliAODCluster.cxx AliAODCaloCluster.cxx AliAODPmdCluster.cxx AliAODFmdCluster.cxx \
        AliAODJet.cxx AliAODPhoton.cxx AliAODRedCov.cxx AliAODRecoDecay.cxx \
        AliAODHandler.cxx AliAODTracklets.cxx AliAODTagCreator.cxx \