/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* See cxx source for full Copyright notice */
-/* $Id$ */
+/* $Id: AliSimulation.h 63170 2013-06-24 14:20:10Z morsch $ */
//
// class for running generation, simulation and digitization
void SetEventsPerFile(const char* detector, const char* type,
Int_t nEvents);
+ void SetRunGeneratorOnly(Bool_t val) {fRunGeneratorOnly = val;};
void SetRunGeneration(Bool_t run) {fRunGeneration = run;};
void SetRunSimulation(Bool_t run) {fRunSimulation = run;};
void SetLoadAlignFromCDB(Bool_t load) {fLoadAlignFromCDB = load;};
void SetAlignObjArray(TObjArray *array)
{fAlignObjArray = array;
fLoadAlignFromCDB = kFALSE;}
+ void SetUseMonitoring(Bool_t flag=kTRUE) {fUseMonitoring = flag;}
Bool_t MisalignGeometry(AliRunLoader *runLoader = NULL);
Float_t rmax=430,Float_t zmax=10000, AliLegoGenerator* gener=NULL, Int_t nev = -1);
virtual Bool_t RunSimulation(Int_t nEvents = 0);
+ virtual Bool_t RunGeneratorOnly();
virtual Bool_t RunSDigitization(const char* detectors = "ALL");
virtual Bool_t RunTrigger(const char* descriptors ="", const char* detectors = "ALL");
virtual Bool_t WriteTriggerRawData();
const char* rootFileName = "");
virtual Bool_t ConvertDateToRoot(const char* dateFileName = "raw.date",
const char* rootFileName = "raw.root");
- virtual Int_t ConvertRaw2SDigits(const char* rawDirectory, const char* esdFile = "", Int_t N=-1);
+ virtual Int_t ConvertRaw2SDigits(const char* rawDirectory, const char* esdFile = "", Int_t N=-1, Int_t nSkip=0);
// Sets the name of the file from which the geometry is loaded
virtual void SetGeometryFile(const Char_t* filename) {fGeometryFile=filename;}
static AliSimulation *fgInstance; // Static pointer to object
+ Bool_t fRunGeneratorOnly; // run code for a generator only production
Bool_t fRunGeneration; // generate prim. particles or not
Bool_t fRunSimulation; // simulate detectors (hits) or not
Bool_t fLoadAlignFromCDB; // Load alignment data from CDB and apply it to geometry or not
Bool_t fDeleteIntermediateFiles; // delete intermediate raw data files
Bool_t fWriteSelRawData; // write detectors raw data in a separate file accoring to the trigger cluster
Bool_t fStopOnError; // stop or continue on errors
+ Bool_t fUseMonitoring; // monitor simulation timing per volume
Int_t fNEvents; // number of events
TString fConfigFileName; // name of the config file
Bool_t fEmbeddingFlag; // Flag for embedding
AliLego *fLego; //! Pointer to aliLego object if it exists
// OCDB
- ULong_t fKey; //! current CDB key
+ ULong64_t fKey; //! current CDB key
Bool_t fUseVertexFromCDB; // Flag to use Vertex from CDB
Bool_t fUseMagFieldFromGRP; // Use magnetic field settings from GRP
TString fGRPWriteLocation; // Location to write the GRP entry from simulation
// #else
// static const Int_t fgkNDetectors = 15 ; // number of detectors
// #endif
- static const Int_t fgkNDetectors = 16 ; // number of detectors // AU
+ //static const Int_t fgkNDetectors = 16 ; // number of detectors // AU
+ static const Int_t fgkNDetectors = 17 ; // number of detectors + AD
static const char * fgkDetectorName[fgkNDetectors] ; // names of detectors
TString fQADetectors ; // list of detectors to be QA'ed
TString fQATasks ; // list of QA tasks to be performed
Bool_t fWriteGRPEntry; // Write or not GRP entry corresponding to the settings in Config.C
- ClassDef(AliSimulation, 12) // class for running generation, simulation and digitization
+ ClassDef(AliSimulation, 13) // class for running generation, simulation and digitization
};
#endif