1 void TestMatrices(Bool_t test2011=1)
3 AliLog::SetClassDebugLevel("AliCDBManager",1);
5 AliCDBManager* man = AliCDBManager::Instance();
6 man->SetDefaultStorage("alien://Folder=/alice/simulation/2008/v4-15-Release/Ideal/");
7 const char *geoname = "EMCAL_COMPLETEV1";
9 man->SetSpecificStorage("EMCAL/Align/Data", "alien://folder=/alice/data/2011/OCDB");
12 man->SetSpecificStorage("EMCAL/Align/Data", "alien://folder=/alice/data/2010/OCDB");
14 geoname = "EMCAL_FIRSTYEARV1";
16 AliGeomManager::LoadGeometry();
17 AliGeomManager::ApplyAlignObjsFromCDB("EMCAL");
18 AliEMCALGeometry *geo = AliEMCALGeometry::GetInstance(geoname);
19 for (Int_t i=0;i<(geo->GetEMCGeometry())->GetNumberOfSuperModules();++i)
20 geo->GetMatrixForSuperModule(i)->Print();
22 AliEMCALEMCGeometry *emc = geo->GetEMCGeometry();
23 Double_t phimin = emc->GetArm1PhiMin();
24 Double_t phimax = emc->GetArm1PhiMax();
25 cout << phimin << " " << phimax << endl;