]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/MUON/AliHLTMUONSinglesDecisionBlockStruct.h
Changing to using char** rather than const char** for main() due to coverty warning.
[u/mrichter/AliRoot.git] / HLT / MUON / AliHLTMUONSinglesDecisionBlockStruct.h
index 79bede9eb50d99e16fd3f014fcf7810145038db7..4bb1db11ee328c7749efb625053b4a85cd429bb8 100644 (file)
@@ -3,15 +3,15 @@
 /* Copyright(c) 1998-2007, ALICE Experiment at CERN, All rights reserved. *
  * See cxx source for full Copyright notice                               */
 
-/* $Id$ */
+// $Id$
 
 /**
  * @file   AliHLTMUONSinglesDecisionBlockStruct.h
  * @author Artur Szostak <artursz@iafrica.com>
- * @date   
+ * @date   21 May 2007
  * @brief  Definition of internal dimuon HLT trigger decision data structure
  *         containing decision information for single tracks.
- * 
+ *
  * The structures are defined with C linkage since C generally gives us more
  * binary compatibility between compilers.
  */
@@ -35,6 +35,8 @@ struct AliHLTMUONTrackDecisionStruct
        // Reserved bits should be set to zero.
        // hipt == passed high pt cut. lopt == passed low pt cut.
        AliHLTUInt32_t fTriggerBits;
+       
+       AliHLTFloat32_t fPt; // The calculated transverse momentum of the track in (GeV/c).
 };
 
 /**
@@ -48,7 +50,7 @@ struct AliHLTMUONSinglesDecisionBlockStruct
        AliHLTUInt32_t fNhighPt; // Number of high pt triggers.
 
        // Array of decisions for individual tracks.
-       AliHLTMUONTrackDecisionStruct fDecision[/*fHeader.fNrecords*/];
+       //AliHLTMUONTrackDecisionStruct fDecision[/*fHeader.fNrecords*/];
 };
 
 } // extern "C"
@@ -65,6 +67,7 @@ inline std::ostream& operator << (
 {
        stream  << "{fTrackId = " << trig.fTrackId << ", fTriggerBits = "
                << std::showbase << std::hex << trig.fTriggerBits << std::dec
+               << ", fPt = " << trig.fPt
                << "}";
        return stream;
 }
@@ -85,7 +88,8 @@ inline bool operator == (
                const AliHLTMUONTrackDecisionStruct& b
        )
 {
-       return a.fTrackId == b.fTrackId and a.fTriggerBits == b.fTriggerBits;
+       return a.fTrackId == b.fTrackId and a.fTriggerBits == b.fTriggerBits
+               and a.fPt == b.fPt;
 }
 
 inline bool operator != (