#include "AliITSreconstruction.h"
#include "AliITSgeom.h"
-
+using std::endl;
+using std::cout;
ClassImp(AliITSreconstruction)
//______________________________________________________________________
fRunLoader = AliRunLoader::Open(filename);
if (fRunLoader == 0x0)
{
- Error("AliITSreconstruction","Can not load the session",filename);
+ Error("AliITSreconstruction","Can not load the session %s \n",filename);
return;
}
}
-//______________________________________________________________________
-AliITSreconstruction::AliITSreconstruction(const AliITSreconstruction &rec):TTask(rec),
-fInit(rec.fInit),
-fEnt(rec.fEnt),
-fEnt0(rec.fEnt0),
-fDetTypeRec(rec.fDetTypeRec),
-fDfArp(rec.fDfArp),
-fITSgeom(rec.fITSgeom),
-fLoader(rec.fLoader),
-fRunLoader(rec.fRunLoader)
-{
- // Copy constructor.
-
-
-}
-
-//______________________________________________________________________
-AliITSreconstruction& AliITSreconstruction::operator=(const AliITSreconstruction& source){
- // Assignment operator.
- this->~AliITSreconstruction();
- new(this) AliITSreconstruction(source);
- return *this;
-
-}
//______________________________________________________________________
AliITSreconstruction::~AliITSreconstruction(){
// none.
// Return:
// kTRUE if no errors initilizing this class occurse else kFALSE
- Info("Init","");
+ Info("Init"," Init ITS reconstruction");
if (fRunLoader == 0x0)
{
Error("Init","Run Loader is NULL");
fDet[0] = fDet[1] = fDet[2] = kTRUE;
fEnt0 = 0;
- //fEnt = gAlice->GetEventsPerRun();
fEnt = Int_t(fRunLoader->GetNumberOfEvents());
fLoader->LoadDigits("read");
// none.
Option_t *lopt;
Int_t evnt;
-
- if(strstr(opt,"All")||strstr(opt,"ALL")||strstr(opt,"ITS")||opt==0){
+ Bool_t condition =kFALSE;
+ if(opt){
+ if(strstr(opt,"All")||strstr(opt,"ALL")||strstr(opt,"ITS"))condition =kTRUE;
+ }
+ else{
+ condition = kTRUE;
+ }
+ if(condition){
fDet[0] = fDet[1] = fDet[2] = kTRUE;
lopt = "All";
}else{
} // end if !fInit
for(evnt=0;evnt<fEnt;evnt++)
{
- Info("Exec","");
+ // Info("Exec","");
Info("Exec","Processing Event %d",evnt);
- Info("Exec","");
+ // Info("Exec","");
fRunLoader->GetEvent(evnt);
if (fLoader->TreeR() == 0x0) fLoader->MakeTree("R");