Int_t CompatibleTrack(AliMUONTrack* track, Double_t sigma2Cut, Bool_t compatibleCluster[10]) const;
/// return pointer to track parameters at vertex (can be 0x0)
- AliMUONTrackParam* GetTrackParamAtVertex() {return fTrackParamAtVertex;}
+ AliMUONTrackParam* GetTrackParamAtVertex() const {return fTrackParamAtVertex;}
void SetTrackParamAtVertex(const AliMUONTrackParam* trackParam);
/// set word telling which trigger chambers where hit by track
//_____________________________________________________________________________
Int_t
- AliMUONTriggerIO::ReadGlobalConfig(const char* globalFile, AliMUONGlobalCrateConfig* globalConfig)
+ AliMUONTriggerIO::ReadGlobalConfig(const char* globalFile, AliMUONGlobalCrateConfig* globalConfig) const
{
/// read the global crate file
/// the masks are disable bit for each crate, 8 per darc board
AliMUONGlobalCrateConfig* globalConfig) const;
- Int_t ReadGlobalConfig(const char* globalFile, AliMUONGlobalCrateConfig* globalConfig);
+ Int_t ReadGlobalConfig(const char* globalFile, AliMUONGlobalCrateConfig* globalConfig) const;
Bool_t WriteGlobalConfig(const char* globalFile, AliMUONGlobalCrateConfig* globalConfig) const;
// $Id$
+// AliMp::Pair functions:
+// The functions for encoding the pair of integers to another integer,
+// defined withing a namespace AliMp.
+// The encoded pairs can be added and subtracted.
+// Author Laurent Aphecetche
+
#include "AliMpEncodePair.h"
#include <Riostream.h>
//_______________________________________________________________________
ostream& AliMp::PairPut(ostream& stream, MpPair_t pair)
{
+/// A special printing for encoded pair.
+
if ( pair >= 0 ) {
stream << '(' << AliMp::PairFirst(pair)
<< ',' << AliMp::PairSecond(pair) << ')';
// $Id$
+// The functions for encodind the pair of integers to another integer,
+// defined withing a namespace AliMp
+// Author Laurent Aphecetche
+
#include <Rtypes.h>
#include <Riosfwd.h>
//_____________________________________________________________________________
class AliMpExMapIterator : public TIterator
{
-public:
friend class AliMpExMap;
+public:
AliMpExMapIterator(const AliMpExMap& theMap);
AliMpExMapIterator(const AliMpExMapIterator& rhs);
AliMpExMapIterator& operator=(const AliMpExMapIterator& rhs);
private:
Bool_t Next(Long_t& index, TObject*& object);
-
-private:
TExMapIter* fIterator; ///< iterator we are wrapping