Added new function to get index of current particle
authorjthaeder <jthaeder@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 24 Mar 2009 12:51:33 +0000 (12:51 +0000)
committerjthaeder <jthaeder@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 24 Mar 2009 12:51:33 +0000 (12:51 +0000)
HLT/BASE/util/AliHLTMCEvent.h

index 1274d3b..4fcf64f 100644 (file)
@@ -83,6 +83,11 @@ public:
    */
   TParticle* NextParticle();
 
+  /** Get Index of current particle 
+   *  @return Index of current particle
+   */
+  Int_t GetIndex() { return fCurrentParticleIndex; }
+
   /*
    * ---------------------------------------------------------------------------------
    *                                     Setter