{
//Comment
fAlgo= Algo::kPeakFinder;
- InitOCDB(fRunOnAlien);
fPeakFinderVectors = new AliCaloPeakFinderVectors() ;
ResetVectors();
LoadVectorsOCDB();
}
-
-void
-AliCaloRawAnalyzerPeakFinder::InitOCDB(bool alien) const
-{
- // Setting the default OCDB pathe depending on wether we work locally or on the GRID.
- if( !AliCDBManager::Instance()->IsDefaultStorageSet ())
- {
- AliCDBManager::Instance()->SetDefaultStorage( alien == true ? "alien://$ALICE_ROOT/OCDB" : "local://$ALICE_ROOT/OCDB" );
- AliCDBManager::Instance()->SetRun(100);
- }
-}
-
-
void
AliCaloRawAnalyzerPeakFinder::ResetVectors()
{
void LoadVectorsOCDB();
void CopyVectors(const AliCaloPeakFinderVectors *const pfvectors );
void ResetVectors();
- void InitOCDB(bool alien) const;
void WriteRootFile() const;
void PrintVectors();
Double_t ScanCoarse(const Double_t *const array, const int length ) const ; // Find a rough estimate of peak position and t0