]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliSimulation.h
introducing variadic free HLT logging macros. When including AliHLTLoggingVariadicFre...
[u/mrichter/AliRoot.git] / STEER / AliSimulation.h
index afd915645ff56b96e9a19520a0b21759a610df30..e268f3e3eff51498f818f37db2336f620aca7c68 100644 (file)
@@ -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,10 @@ public:
 
   //Quality Assurance
   Int_t       GetDetIndex(const char * detector);
-  void        SetQACycles(AliQAv1::DETECTORINDEX_t det, const Int_t cycles) {  fQAManager->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(AliQAv1::DETECTORINDEX_t det) { fQAManager->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 ; }
@@ -180,17 +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    
-  AliQAManager * fQAManager ;                           // 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)
   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, 9)  // class for running generation, simulation and digitization
+  ClassDef(AliSimulation, 10)  // class for running generation, simulation and digitization
 };
 
 #endif