* provided "as is" without express or implied warranty. *
**************************************************************************/
-/*
-$Log$
-Revision 1.1 2001/11/06 17:19:41 cblume
-Add detailed geometry and simple simulator
-
-*/
+/* $Id$ */
///////////////////////////////////////////////////////////////////////////////
// //
}
//_____________________________________________________________________________
-AliTRDpidLQ::AliTRDpidLQ(const AliTRDpidLQ &p)
+AliTRDpidLQ::AliTRDpidLQ(const AliTRDpidLQ &p):AliTRDpid(p)
{
//
// AliTRDpidLQ copy constructor
TH1F *hTmpPi;
t->SetLikelihoodElectron(-1.);
- if (isnan(t->GetP())) return kFALSE;
+ if (TMath::IsNaN(t->GetP())) return kFALSE;
Float_t mom = t->GetP();
// Calculate the total charge in each plane
}
//_____________________________________________________________________________
-Bool_t AliTRDpidLQ::CreateHistograms(const Int_t nmom
- , const Float_t minmom
- , const Float_t maxmom)
+Bool_t AliTRDpidLQ::CreateHistograms(Int_t nmom, Float_t minmom, Float_t maxmom)
{
//
// Creates the histograms
// Bool_t status = kTRUE;
-// if (isnan(t->GetP())) return kFALSE;
+// if (TMath::IsNaN(t->GetP())) return kFALSE;
// Float_t mom = t->GetP();
// Int_t ipid = MCpid(t);
const Int_t kNpla = AliTRDgeometry::Nplan();
- if (isnan(t->GetP())) return kFALSE;
+ if (TMath::IsNaN(t->GetP())) return kFALSE;
Float_t * charge = new Float_t[kNpla];
Int_t * nCluster = new Int_t[kNpla];
// Returns the histogram index
//
- if (isnan(t->GetP())) return -1;
+ if (TMath::IsNaN(t->GetP())) return -1;
Float_t mom = t->GetP();
Int_t ipid = MCpid(t);
}
//_____________________________________________________________________________
-Int_t AliTRDpidLQ::GetIndex(const Float_t mom, const Int_t ipid)
+Int_t AliTRDpidLQ::GetIndex(Float_t mom, Int_t ipid)
{
//
// Returns the histogram index
}
//_____________________________________________________________________________
-Int_t AliTRDpidLQ::GetIndex(const Int_t imom, const Int_t ipid)
+Int_t AliTRDpidLQ::GetIndex(Int_t imom, Int_t ipid)
{
//
// Returns the histogram index