#include "AliMUONDigit.h"
#include "AliLog.h"
+/// \cond CLASSIMP
ClassImp(AliMUONPoints)
+/// \endcond
//_____________________________________________________________________________
AliMUONPoints::AliMUONPoints()
- : AliPoints()
+ : AliPoints(),
+ fHitIndex(0),
+ fTrackIndex(0),
+ fDigitIndex(0),
+ fMatrix(0)
+
{
- //
- // Default constructor
- //
- fHitIndex = 0;
- fTrackIndex = 0;
- fDigitIndex = 0;
+ /// Default constructor
+
fMarker[0] = fMarker[1] = fMarker[2]=0;
- fMatrix = 0;
}
//_____________________________________________________________________________
AliMUONPoints::AliMUONPoints(Int_t npoints)
- :AliPoints(npoints)
+ : AliPoints(npoints),
+ fHitIndex(0),
+ fTrackIndex(0),
+ fDigitIndex(0),
+ fMatrix(0)
{
- //
- // Standard constructor
- //
- fHitIndex = 0;
- fTrackIndex = 0;
- fDigitIndex = 0;
+ /// Standard constructor
+
fMarker[0] = fMarker[1] = fMarker[2]=0;
- fMatrix = 0;
}
-//_____________________________________________________________________________
-AliMUONPoints::AliMUONPoints(const AliMUONPoints& points)
- : AliPoints(points)
-{
-// Protected copy constructor
-
- AliFatal("Not implemented.");
-}
-
//_____________________________________________________________________________
AliMUONPoints::~AliMUONPoints()
{
- //
- // Default destructor
- //
+ /// Destructor
+
fHitIndex = 0;
fTrackIndex = 0;
fDigitIndex = 0;
//_____________________________________________________________________________
void AliMUONPoints::DumpHit() const
{
- //
- // Dump hit corresponding to this point
- //
+ /// Dump hit corresponding to this point
+
AliMUONHit *hit = GetHit();
if (hit) hit->Dump();
}
//_____________________________________________________________________________
void AliMUONPoints::DumpDigit() const
{
- //
- // Dump digit corresponding to this point
- //
+ /// Dump digit corresponding to this point
+
AliMUONDigit *digit = GetDigit();
if (digit) digit->Dump();
}
//_____________________________________________________________________________
void AliMUONPoints::InspectHit()
{
- //
- // Inspect hit corresponding to this point
- //
+ /// Inspect hit corresponding to this point
if (fHitIndex < 0 ) return;
TVirtualPad *padsav = gPad;
//_____________________________________________________________________________
void AliMUONPoints::InspectDigit()
{
- //
- // Inspect digit corresponding to this point
- //
+ /// Inspect digit corresponding to this point
+
if (fDigitIndex < 0) return;
TVirtualPad *padsav = gPad;
AliMUONDigit *digit = GetDigit();
//_____________________________________________________________________________
Int_t AliMUONPoints::GetTrackIndex() const
{
- //
- // Dump digit corresponding to this point
- //
+ /// Dump digit corresponding to this point
Inspect();
/*
//_____________________________________________________________________________
AliMUONHit *AliMUONPoints::GetHit() const
{
- //
- // Returns pointer to hit index in AliRun::fParticles
- //
+ /// Returns pointer to hit index in AliRun::fParticles
+
AliMUON *pMUON = (AliMUON*)gAlice->GetModule("MUON");
pMUON->TreeH()->GetEvent(fTrackIndex);
//_____________________________________________________________________________
AliMUONDigit *AliMUONPoints::GetDigit() const
{
- //
- // Returns pointer to digit index in AliRun::fParticles
- //
+ /// Returns pointer to digit index in AliRun::fParticles
AliMUONDisplay *display=(AliMUONDisplay*)gAlice->Display();
Int_t chamber=display->GetChamber();
if (fDigitIndex < 0 || fDigitIndex >= ndigits) return 0;
return (AliMUONDigit*)muonDigits->UncheckedAt(fDigitIndex);
}
-//_____________________________________________________________________________
-
-AliMUONPoints& AliMUONPoints::operator= (const AliMUONPoints& rhs)
-{
-// Protected assignement operator
-
- if (this == &rhs) return *this;
-
- AliFatal("Not implemented.");
-
- return *this;
-}