X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=HLT%2FMUON%2FAliHLTMUONSinglesDecisionBlockStruct.h;h=4bb1db11ee328c7749efb625053b4a85cd429bb8;hb=3ecd33278a2a58b8d51ba10771ca93cf50cf48a3;hp=79bede9eb50d99e16fd3f014fcf7810145038db7;hpb=90a74d7a6613501d19d5ed898f14d9855fa5ca65;p=u%2Fmrichter%2FAliRoot.git diff --git a/HLT/MUON/AliHLTMUONSinglesDecisionBlockStruct.h b/HLT/MUON/AliHLTMUONSinglesDecisionBlockStruct.h index 79bede9eb50..4bb1db11ee3 100644 --- a/HLT/MUON/AliHLTMUONSinglesDecisionBlockStruct.h +++ b/HLT/MUON/AliHLTMUONSinglesDecisionBlockStruct.h @@ -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 - * @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 != (