+ Bool_t AddFromCDB(AliCDBId *cdbId); // this method updates Data Members (statistics) from DataBase
+ virtual Bool_t AddFromCDB() {AliCDBId *cdbId=0; return AddFromCDB(cdbId);}
+ // method to locate a basic block from Detector Local coordinate (to be used in tracking)
+ // see file cxx for numbering convention.
+ // here idet runs from 0 to 79 for layer 0 and from 0 to 159 for layer 1
+ UInt_t GetKey(const UInt_t mod, const UInt_t chip, const Bool_t FO=kFALSE, const UInt_t BCm4=0) const; // unique key to locate the basic
+ // block of the SPD for detector and FO efficiency
+ UInt_t SwitchChipKeyNumbering(UInt_t key) const; // method to switch from offline chip key numbering to online Raw Stream chip numbering
+ // and viceversa. Used for Fast-Or studies.
+ UInt_t GetKeyFromDetLocCoord(Int_t ilay,Int_t idet, Float_t, Float_t locz) const;
+ UInt_t Nblock() const; // return the number of basic blocks
+ // compute the geometrical limit of a basic block (chip) in detector local coordinate system
+ Bool_t GetBlockBoundaries(const UInt_t key,Float_t& xmn,Float_t& xmx,Float_t& zmn,Float_t& zmx) const;
+ // Methods for dealing with auxiliary histograms
+ // method to set on/off the creation/updates of histograms (Histos are created/destroyed)
+ virtual void SetCreateHistos(Bool_t his=kFALSE)
+ //{fHis=his; if(fHis) InitHistos(); else DeleteHistos(); return; }
+ {fHis=his; if(fHis) {DeleteHistos(); InitHistos();} else DeleteHistos(); return; }
+ virtual Bool_t FillHistos(UInt_t key, Bool_t found, Float_t *track, Float_t *cluster, Int_t *ctype, Float_t *angtrkmod);
+ virtual Bool_t WriteHistosToFile(TString filename="PlaneEffSPDHistos.root",Option_t* option = "RECREATE");
+ virtual Bool_t ReadHistosFromFile(TString filename="PlaneEffSPDHistos.root"); // histos must exist already !
+ // This method increases the
+ // statistics of histos by adding
+ // those of the input file.