]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliSimulation.h
Cast to AliMCParticle*
[u/mrichter/AliRoot.git] / STEER / AliSimulation.h
index 8349af1b14949fbeb5c5a064baa67b286ff67cdd..e268f3e3eff51498f818f37db2336f620aca7c68 100644 (file)
@@ -15,8 +15,8 @@
 #include <TNamed.h>
 #include <TString.h>
 #include <TObjArray.h>
-#include "AliQA.h"
-#include "AliQADataMakerSteer.h"
+#include "AliQAv1.h"
+#include "AliQAManager.h"
 
 class AliCDBId;
 class AliCDBParam;
@@ -24,6 +24,7 @@ class AliRunLoader;
 class AliLegoGenerator;
 class AliLego;
 class AliMagF;
+class AliHLTSimulation;
 
 class AliSimulation: public TNamed {
 public:
@@ -105,6 +106,7 @@ public:
 
   // HLT
   void SetRunHLT(const char* options) {fRunHLT=options;}
+  virtual Bool_t CreateHLT();
   virtual Bool_t RunHLT();
   virtual  Bool_t IsLegoRun() const {return (fLego!=0);}
   AliLego* Lego() const {return fLego;}
@@ -112,10 +114,14 @@ public:
 
   //Quality Assurance
   Int_t       GetDetIndex(const char * detector);
-  void        SetQACycles(AliQA::DETECTORINDEX_t det, const Int_t cycles) {  fQASteer->SetCycleLength(det, cycles) ; }
+  void        SetQACycles(AliQAv1::DETECTORINDEX_t det, const Int_t cycles) {  AliQAManager::QAManager()->SetCycleLength(det, cycles) ; }
   Bool_t      RunQA() ;
   Bool_t      SetRunQA(TString detAndAction="ALL:ALL") ; 
-  void        SetQAWriteExpert(AliQA::DETECTORINDEX_t det) { fQASteer->SetWriteExpert(det) ; }
+  void        SetQAWriteExpert(AliQAv1::DETECTORINDEX_t det) { AliQAManager::QAManager()->SetWriteExpert(det) ; }  
+  void        SetQARefDefaultStorage(const char* uri);
+  void        InitQA();
+  void        SetEventSpecie(AliRecoParam::EventSpecie_t es) { fEventSpecie = es ; }
+  void        SetWriteQAExpert() { fWriteQAExpertData = kTRUE ; }
 
   void SetWriteGRPEntry(Bool_t flag = kTRUE) { fWriteGRPEntry = flag; }
   void WriteGRPEntry();
@@ -160,6 +166,7 @@ private:
   Bool_t         fRegionOfInterest;   // digitization in region of interest
 
   TString       fCDBUri;                            //! Uri of the default CDB storage
+  TString       fQARefUri;                        //! Uri of the default QA reference storage
   TObjArray  fSpecCDBUri;                  //! Array with detector specific CDB storages
   Int_t           fRun;                                     //! Run number, will be passed to CDB and gAlice!!
   Int_t           fSeed;                        //! Seed for random number generator 
@@ -175,16 +182,17 @@ private:
   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    
-  AliQADataMakerSteer * fQASteer ;                      // steering object to run QA
   Bool_t               fRunQA ;                         // Runs the QA at the end of simulation
-  AliRecoParam::EventSpecie_t fEventSpecie ;                   // type of event (see AliRecoParam::EventSpecie_t)
+  AliRecoParam::EventSpecie_t fEventSpecie ;            // type of event (see AliRecoParam::EventSpecie_t)
+  Bool_t               fWriteQAExpertData ;             //! decides wheter or not to write experts QA data; true by default
 
   //HLT
-  TString        fRunHLT;             // HLT options, HLT is disabled if empty, default='default'
+  TString              fRunHLT;       //! HLT options, HLT is disabled if empty, default='default'
+  AliHLTSimulation*    fpHLT;         //! The instance of HLT simulation
 
   Bool_t         fWriteGRPEntry;      // Write or not GRP entry corresponding to the settings in Config.C
 
-  ClassDef(AliSimulation, 8)  // class for running generation, simulation and digitization
+  ClassDef(AliSimulation, 10)  // class for running generation, simulation and digitization
 };
 
 #endif