return acc;
}
-void AliFastDetector::EvaluateResponse(AliFastParticle* part)
+void AliFastDetector::EvaluateResponse(AliFastParticle* /*part*/)
{
;
}
void AliFastDetector::
-AddSubdetector(AliFastDetector *Detector, char* Name)
+AddSubdetector(AliFastDetector *Detector, char* /*Name*/)
{
//
// Add detector to list
virtual ~AliFastEvent(){;}
virtual void SetMultiplicty(Int_t mul)
{fMultiplicity = mul;}
- virtual Int_t GetMultiplicty(Int_t mul)
+ virtual Int_t GetMultiplicty()
{return fMultiplicity;}
virtual void SetVertex(const TArrayF &o)
{
return y;
}
-Double_t AliFastGlauber::WSta(Double_t* x, Double_t* par)
+Double_t AliFastGlauber::WSta(Double_t* x, Double_t* /*par*/)
{
//
// Thickness function
}
-Double_t AliFastGlauber::WStaa(Double_t* x, Double_t* par)
+Double_t AliFastGlauber::WStaa(Double_t* x, Double_t* /*par*/)
{
//
// Overlap function
return y;
}
-Double_t AliFastGlauber::WSgeo(Double_t* x, Double_t* par)
+Double_t AliFastGlauber::WSgeo(Double_t* x, Double_t* /*par*/)
{
//
// Geometrical Cross-Section
return y;
}
-Double_t AliFastGlauber::WSN(Double_t* x, Double_t* par)
+Double_t AliFastGlauber::WSN(Double_t* x, Double_t* /*par*/)
{
//
// Number of hard processes per event
public:
AliFastMuonTriggerEff();
- AliFastMuonTriggerEff(char* Name, char* Title) {;}
+ AliFastMuonTriggerEff(char* Name, char* Title):AliFastResponse(Name, Title) {;}
virtual ~AliFastMuonTriggerEff(){;}
virtual void Init();
virtual void Evaluate(Float_t charge, Float_t pt, Float_t theta, Float_t phi,
Float_t fDtheta; // Delta_theta
Int_t fCut; // Cut type (low/high)
Int_t fZones; // Total number of zones
- const static Int_t fSim=2; // Number of pt extentions (internal use)
+ static const Int_t fSim=2; // Number of pt extentions (internal use)
Float_t** fEffLow; // Table for low-pt cut bkg=0
Float_t** fEffHigh; // Table for high-pt cut bkg=0
AliFastResponse(char* Name, char* Title) : TNamed(Name, Title) {}
virtual ~AliFastResponse(){}
virtual void Init() = 0;
- virtual Float_t Evaluate(Float_t pt, Float_t theta , Float_t phi)
- {return -1.;}
+ virtual Float_t Evaluate(Float_t /*pt*/, Float_t /*theta*/ , Float_t /*phi*/)
+ {Fatal("Evaluate","Not implemented in base class !\n"); return (-1);}
+
virtual void Evaluate(Float_t p, Float_t theta , Float_t phi,
Float_t& pS, Float_t& thetaS, Float_t& phiS);
virtual Float_t Evaluate(AliFastParticle* part);