/* $Id$ */
+/* History of cvs commits:
+ *
+ * $Log$
+ * Revision 1.11 2006/08/01 12:15:03 cvetan
+ * Adding a constructor from TFolder. Needed by AliReconstruction plugin scheme
+ *
+ * Revision 1.10 2005/05/28 14:19:04 schutz
+ * Compilation warnings fixed by T.P.
+ *
+ */
+
//_________________________________________________________________________
// A singleton that returns various objects
// Should be used on the analysis stage to avoid confusing between different
public:
AliPHOSLoader();
- AliPHOSLoader(const AliPHOSLoader & obj) : AliLoader(obj) {}
+ AliPHOSLoader(const AliPHOSLoader & obj);
AliPHOSLoader(const Char_t *detname,const Char_t *eventfoldername);
+ AliPHOSLoader(const Char_t *detname,TFolder *topfolder);
virtual ~AliPHOSLoader() ;
Int_t LoadTracks(Option_t* opt=""); //reads Tracks from disk and sends them to folder; array as well as tree
Int_t LoadRecParticles(Option_t* opt="");
- Int_t PostHits(); //Posts the
- Int_t PostSDigits();
- Int_t PostDigits();
- Int_t PostRecPoints();
- Int_t PostTracks();
- Int_t PostRecParticles();
+ Int_t PostHits()const; //Posts the
+ Int_t PostSDigits()const;
+ Int_t PostDigits()const;
+ Int_t PostRecPoints()const;
+ Int_t PostTracks()const;
+ Int_t PostRecParticles()const;
void CleanFolders();//cleans all the stuff loaded by this detector + calls AliLoader::Clean
- void CleanHits();
- void CleanSDigits();
- void CleanDigits();
- void CleanRecPoints();
- void CleanTracks();
+ void CleanHits()const;
+ void CleanSDigits()const;
+ void CleanDigits()const;
+ void CleanRecPoints()const;
+ void CleanTracks()const;
void CleanRecParticles();
//up to now it is only here -> no definition about global/incremental tracking/PID
void SetDebug(Int_t level) {fDebug = level;} // Set debug level
void SetBranchTitle(const TString& btitle);
-
- AliPHOSCalibrationDB * CalibrationDB(){return fcdb; }
+
+ Int_t GetDebug() const {return fDebug; }
+ TString GetBranchTitle() const {return fBranchTitle;}
+ AliPHOSCalibrationDB * CalibrationDB() const {return fcdb; }
void ReadCalibrationDB(const char * name, const char * filename);
protected: