AliRun *a; AliRunLoader *al; TGeoManager *g; //globals for easy manual manipulations
AliHMPID *h; AliLoader *hl; AliHMPIDParam *hp;
-Bool_t isGeomType=kFALSE;
Int_t nCurEvt=0;
Int_t nMaxEvt=0;
TControlBar *pMenu=0;
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-void GetParam()
-{
- isGeomType=!isGeomType;
- if(g) delete g; if(hp) delete hp; //delete current TGeoManager and AliHMPIDParam
- if(isGeomType) g=TGeoManager::Import("geometry.root");
- else g=TGeoManager::Import("misaligned_geometry.root");
- hp=AliHMPIDParam::Instance();
-}//GetParam()
-//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
void Hmenu()
{
TString status="Status: ";
status+="PROBLEM PROBLEM PROBLEM no galice.root";
status+=Form(" curent event %i",nCurEvt);
- GetParam();
+
+ AliHMPIDParam::Instance(); // geometry loaded
+
pMenu = new TControlBar("horizontal",status.Data(),0,0);
pMenu->AddButton(" ","","");
pMenu->AddButton(" General ","General()" ,"general items which do not depend on any files");
Double_t r2d=TMath::RadToDeg();
- Double_t x=AliHMPIDDigit::SizeAllX(),y=AliHMPIDDigit::SizeAllY();
+ Double_t x=AliHMPIDParam::SizeAllX(),y=AliHMPIDParam::SizeAllY();
Printf("\n\n\n");
cl->Print();
}//t1()
-//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-
-
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
void hp(Int_t iEvt=0)
{
Printf("totally %i clusters for event %i",iCluCnt,iEvt);
}
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-
-void ttt()
-{
- TClonesArray hits ("AliHMPIDDigit");
- TClonesArray sdigs("AliHMPIDDigit");
-
- AliHMPIDHit hit(0,45e-9,kProton,33,0,0);
- hit.Hit2Sdi(&sdigs);
- sdigs.Print();
-}
-
-
-#include "Hdisp.C"