fInitDone(kFALSE),
fLego(0),
fPDGDB(0), //Particle factory object
- fConfigFunction("\0"),
+ fConfigFunction(""),
fRandom(0),
fIsRootGeometry(kFALSE),
+ fGeometryFileName(""),
+ fTriggerDescriptor(""),
fRunLoader(0x0)
{
//
fConfigFunction("\0"),
fRandom(0),
fIsRootGeometry(kFALSE),
+ fGeometryFileName(""),
+ fTriggerDescriptor(""),
fRunLoader(0x0)
{
//
fConfigFunction("Config();"),
fRandom(new TRandom3()),
fIsRootGeometry(kFALSE),
+ fGeometryFileName(""),
+ fTriggerDescriptor(""),
fRunLoader(0x0)
{
//
TString str = name; gSystem->ExpandPathName(str);
return !gSystem->AccessPathName(str.Data(),mode);
}
-
-//_____________________________________________________________________________
-Bool_t AliRun::ApplyAlignObjsToGeom(TClonesArray* AlObjArray)
-{
- // Read collection of alignment objects (AliAlignObj derived) saved
- // in the TClonesArray ClArrayName and apply them to the geometry
- // manager singleton.
- //
- Int_t nvols = AlObjArray->GetEntriesFast();
-
- for(Int_t j=0; j<nvols; j++)
- {
- AliAlignObj* alobj = (AliAlignObj*) AlObjArray->UncheckedAt(j);
- if (alobj->ApplyToGeometry() == kFALSE)
- return kFALSE;
- }
-
- gGeoManager->CheckOverlaps(50);
- TObjArray* ovexlist = gGeoManager->GetListOfOverlaps();
- if(ovexlist->GetEntriesFast()){
- AliErrorClass("The application of alignment objects to the geometry caused huge overlaps/extrusions!");
- }
-
- return kTRUE;
-
-}
-