//
// file: AliHBTPIDPurityFctns.cxx AliHBTPIDPurityFctns.h
//
-// Caution: On 2D plots on X axis in simulated values
-// That is contrary to two-particle resolutions where it is reconstructed one
+// Classes for calculating PID purity, efficiency and other things connected with PID
+// xxx
+// xxx
//
// added by Piotr.Skowronski@cern.ch
-//
//
//////////////////////////////////////////////////////////////////////////////////
/******************************************************************/
/******************************************************************/
/******************************************************************/
-AliHBTQInvCorrelFctnPerfectPID f;
ClassImp(AliHBTMonPIDPurityVsPtFctn)
}
/******************************************************************/
+AliHBTMonPIDPurityVsPtFctn::AliHBTMonPIDPurityVsPtFctn(const AliHBTMonPIDPurityVsPtFctn& /*in*/):
+ AliHBTMonTwoParticleFctn1D(),
+ AliHBTCorrelFunction(),
+ fGood(0x0),
+ fAll(0x0)
+{
+ //cpy constructor
+ Error("AliHBTMonPIDPurityVsPtFctn(const AliHBTMonPIDPurityVsPtFctn&",
+ "Functions can not be copied because of histogram names clashes");
+}
+
+/******************************************************************/
+
AliHBTMonPIDPurityVsPtFctn::~AliHBTMonPIDPurityVsPtFctn()
{
//dtor
delete fAll;
}
/******************************************************************/
+
+AliHBTMonPIDPurityVsPtFctn& AliHBTMonPIDPurityVsPtFctn::operator=
+ (const AliHBTMonPIDPurityVsPtFctn& /*in*/)
+{
+//assigment operator
+ Error("operator=","Functions can not be copied because of histogram names clashes");
+ return *this;
+}
+/******************************************************************/
+
void AliHBTMonPIDPurityVsPtFctn::Write()
{
+//Writes a fucntion results
AliHBTMonitorFunction::Write();
fGood->Write();
fAll->Write();
}
/******************************************************************/
+AliHBTMonPIDContaminationVsPtFctn::AliHBTMonPIDContaminationVsPtFctn
+ (const AliHBTMonPIDContaminationVsPtFctn& /*in*/):
+ AliHBTMonTwoParticleFctn1D(),
+ AliHBTCorrelFunction(),
+ fWrong(0x0),
+ fAll(0x0)
+{
+ //cpy constructor
+ Error("AliHBTMonPIDContaminationVsPtFctn(const AliHBTMonPIDContaminationVsPtFctn&",
+ "Functions can not be copied because of histogram names clashes");
+}
+
+/******************************************************************/
+
AliHBTMonPIDContaminationVsPtFctn::~AliHBTMonPIDContaminationVsPtFctn()
{
//dtor
}
/******************************************************************/
+AliHBTMonPIDContaminationVsPtFctn& AliHBTMonPIDContaminationVsPtFctn::operator=
+ (const AliHBTMonPIDContaminationVsPtFctn& /*in*/)
+{
+//assigment operator
+ Error("operator=","Functions can not be copied because of histogram names clashes");
+ return *this;
+}
+/******************************************************************/
+
void AliHBTMonPIDContaminationVsPtFctn::Write()
{
//Writes the function results