// --- ROOT system ---
#include "TTask.h"
#include "TObjArray.h"
-class TH1F ;
+#include "TH1F.h"
// --- Standard library ---
#include "TH2.h"
#include "TMath.h"
#include "TCanvas.h"
+#include "TGraph.h"
// --- Standard library ---
}
+//____________________________________________________________________________
+AliPHOSEmcRecPoint::AliPHOSEmcRecPoint(const AliPHOSEmcRecPoint & rp) : AliPHOSRecPoint(rp)
+{
+ // cpy ctor
+
+ fMulDigit = rp.fMulDigit ;
+ fAmp = rp.fAmp ;
+ fCoreEnergy = rp.fCoreEnergy ;
+ fEnergyList = new Float_t[rp.fMulDigit] ;
+ Int_t index ;
+ for(index = 0 ; index < fMulDigit ; index++)
+ fEnergyList[index] = rp.fEnergyList[index] ;
+ fNExMax = rp.fNExMax ;
+ fTime = rp.fTime ;
+}
+
//____________________________________________________________________________
AliPHOSEmcRecPoint::~AliPHOSEmcRecPoint()
{
AliPHOSEmcRecPoint() ;
AliPHOSEmcRecPoint(const char * opt) ;
- AliPHOSEmcRecPoint(const AliPHOSEmcRecPoint & rp) {
- // cpy ctor requested by Coding Convention
- // but not yet needed
- assert(0==1) ;
- }
+ AliPHOSEmcRecPoint(const AliPHOSEmcRecPoint & rp) ;
virtual ~AliPHOSEmcRecPoint() ;
void Print(Option_t * opt = "void")const ;
void Purify(Float_t threshold) ; //Removes digits below threshold
- AliPHOSEmcRecPoint & operator = (const AliPHOSEmcRecPoint & rvalue) {
- // assignement operator requested by coding convention but not needed
- assert(0==1) ;
- return *this ;
- }
+ AliPHOSEmcRecPoint & operator = (const AliPHOSEmcRecPoint & rvalue) { return *this ; }
protected:
void EvalCoreEnergy(Float_t logWeight,TClonesArray * digits) ;
// --- ROOT system ---
#include "TPad.h"
#include "TClonesArray.h"
+#include "TGraph.h"
+#include "TPaveText.h"
// --- Standard library ---
}
+//____________________________________________________________________________
+AliPHOSRecPoint::AliPHOSRecPoint(const AliPHOSRecPoint & rp ) : AliRecPoint(rp)
+{
+ // cpy ctor
+
+ fMaxTrack = rp.fMaxTrack;
+ fPHOSMod = rp.fPHOSMod;
+
+}
+
//____________________________________________________________________________
Int_t AliPHOSRecPoint::DistancetoPrimitive(Int_t px, Int_t py)
{
// A recpoint being equivalent to a cluster in encal terminology
//*-- Author: Gines Martinez (SUBATECH)
-#include <assert.h>
// --- ROOT system ---
-#include "TMarker.h"
-#include "TGraph.h"
-#include "TPaveText.h"
+//#include "TMarker.h"
+//#include "TGraph.h"
+//#include "TPaveText.h"
// --- Standard library ---
// --- AliRoot header files ---
#include "AliRecPoint.h"
-#include "AliPHOSDigit.h"
+ class AliPHOSDigit ;
class AliPHOSRecPoint : public AliRecPoint {
AliPHOSRecPoint() ; // ctor
AliPHOSRecPoint(const char * opt) ; // ctor
- AliPHOSRecPoint(const AliPHOSRecPoint & rp) {
- // cpy ctor requested by Coding Convention
- // but not yet needed
- assert(0==1) ;
- }
+ AliPHOSRecPoint(const AliPHOSRecPoint & rp) ; //cpy ctor
virtual ~AliPHOSRecPoint(){
// dtor
}
virtual void AddDigit(AliDigitNew &){
// do not use this definition but the one below
- assert(0==1) ;
+ Fatal("AddDigit", "use AddDigit(AliPHOSDigit & digit, Float_t Energy)") ;
}
virtual void AddDigit(AliPHOSDigit & digit, Float_t Energy) = 0 ;
virtual Int_t Compare(const TObject * obj) const = 0 ;
// Print prototype
}
- AliPHOSRecPoint & operator = (const AliPHOSRecPoint & ) {
- // assignement operator requested by coding convention but not needed
- assert(0==1) ;
- return *this ;
- }
+ AliPHOSRecPoint & operator = (const AliPHOSRecPoint & ) { return *this ; }
protected: