#include "AliMUONRawCluster.h"
+/// \cond CLASSIMP
ClassImp(AliMUONRawCluster)
+/// \endcond
-
+//____________________________________________________
AliMUONRawCluster::AliMUONRawCluster()
- : TObject()
+ : TObject(),
+ fClusterType(0),
+ fGhost(0),
+ fDetElemId(0)
{
/// Constructor
fTracks[0]=fTracks[1]=fTracks[2]=-1;
}
}
fNcluster[0]=fNcluster[1]=-1;
- fGhost=0;
- fDetElemId = 0;
fErrXY[0] = 0.144;
fErrXY[1] = 0.01;
}
+
+//____________________________________________________
+AliMUONRawCluster::~AliMUONRawCluster()
+{
+/// Destructor
+}
+
//____________________________________________________
Int_t AliMUONRawCluster::Compare(const TObject *obj) const
{
//____________________________________________________
void AliMUONRawCluster::Print(Option_t* opt) const
{
- //
- // Printing Raw Cluster (Rec Point) information
- // "full" option for printing all the information about the raw cluster
- //
+ ///
+ /// Printing Raw Cluster (Rec Point) information
+ /// "full" option for printing all the information about the raw cluster
+ ///
TString sopt(opt);
sopt.ToUpper();
}
}
//____________________________________________________
-Int_t AliMUONRawCluster::AddCharge(Int_t i, Int_t Q)
+Int_t AliMUONRawCluster::AddCharge(Int_t i, Float_t Q)
{
/// Adding Q to the fQ value
if (i==0 || i==1) {
else return 0;
}
//____________________________________________________
-Int_t AliMUONRawCluster::GetCharge(Int_t i) const
+Float_t AliMUONRawCluster::GetCharge(Int_t i) const
{
/// Getting the charge of the cluster
if (i==0 || i==1) return fQ[i];
else return 99999;
}
//____________________________________________________
-Int_t AliMUONRawCluster::GetPeakSignal(Int_t i) const
+Float_t AliMUONRawCluster::GetPeakSignal(Int_t i) const
{
/// Getting cluster peaksignal
if (i==0 || i==1 ) return fPeakSignal[i];
else return 99999.;
}
//____________________________________________________
-Int_t AliMUONRawCluster::SetCharge(Int_t i, Int_t Q)
+Int_t AliMUONRawCluster::SetCharge(Int_t i, Float_t Q)
{
/// Setting Charge of the cluster
if (i==0 || i==1) {
else return 0;
}
//____________________________________________________
-Int_t AliMUONRawCluster::SetPeakSignal(Int_t i, Int_t peaksignal)
+Int_t AliMUONRawCluster::SetPeakSignal(Int_t i, Float_t peaksignal)
{
/// Setting PeakSignal of the cluster
if (i==0 || i==1 ) {