#include "AliPDG.h"
#include "AliRun.h"
#include "AliStack.h"
-#ifdef __APPLE__
-//#include "AliTPCTrackHitsInterfaces.h"
-#endif
+#include "AliAlignObj.h"
AliRun *gAlice;
fMCApp(0),
fDisplay(0),
fField(0),
- fMC(0),
fNdets(0),
fInitDone(kFALSE),
fLego(0),
fPDGDB(0), //Particle factory object
- fConfigFunction("\0"),
+ fConfigFunction(""),
fRandom(0),
fIsRootGeometry(kFALSE),
+ fGeometryFileName(""),
+ fTriggerDescriptor(""),
fRunLoader(0x0)
{
//
fMCApp(0),
fDisplay(0),
fField(0),
- fMC(0),
fNdets(0),
fInitDone(kFALSE),
fLego(0),
fConfigFunction("\0"),
fRandom(0),
fIsRootGeometry(kFALSE),
+ fGeometryFileName(""),
+ fTriggerDescriptor(""),
fRunLoader(0x0)
{
//
fMCApp(0),
fDisplay(0),
fField(0),
- fMC(gMC),
fNdets(0),
fInitDone(kFALSE),
fLego(0),
fConfigFunction("Config();"),
fRandom(new TRandom3()),
fIsRootGeometry(kFALSE),
- fRunLoader(0x0)
+ fGeometryFileName(""),
+ fTriggerDescriptor(""),
+ fRunLoader(0x0)
{
//
// Constructor for the main processor.
// Add particle list to configuration
AliConfig::Instance()->Add(fPDGDB);
-#ifdef __APPLE__
- // Terrible hack to avoid problem with the initialisation of
- // static and globals on Mac OS X
- // AliClassAliTrackHitsInfo p1=galiclass____AliClassAliTrackHitsInfo;
- // AliClassAliTrackHitsParam p2=galiclass____AliTrackHitsParam;
- //AliClassAliHitInfo p3=galiclass____AliHitInfo;
-#endif
-
}
// Instruct application that the geometry is to be retreived from a root file.
fIsRootGeometry = flag;
if (flag) gMC->SetRootGeometry();
-}
-
+}
//_______________________________________________________________________
void AliRun::SetField(Int_t type, Int_t version, Float_t scale,
Float_t maxField, const char* filename)
//Hits moved to begin event -> now we are crating separate tree for each event
gMC->ProcessRun(nevent);
-// cout<<"\n***** "<<gGeoManager->GetMaterial("TPCEpoxy")->GetA()<<" ****\n";
// End of this run, close files
if(nevent>0) FinishRun();
fNdets++;
}
-
-//_______________________________________________________________________
-Int_t AliRun::GetDebug() const
-{
- AliWarning("Don't use this method any more, use AliDebug instead");
- return AliDebugLevel();
-}
-
-//_______________________________________________________________________
-void AliRun::SetDebug(Int_t level)
-{
- AliWarning("Don't use this method any more, use AliLog instead");
- AliLog::SetClassDebugLevel("AliRun", level);
-}
-
-
// added by Alberto Colla
//_____________________________________________________________________________
/*inline*/ Bool_t AliRun::IsFileAccessible(const char* fnam, EAccessMode mode)
TString str = name; gSystem->ExpandPathName(str);
return !gSystem->AccessPathName(str.Data(),mode);
}
-
-