]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - START/AliSTART.cxx
Options for cuts automatically set when chosing processing option
[u/mrichter/AliRoot.git] / START / AliSTART.cxx
index bdf950af9d113c615c9d3ed9b4d132ce478ca4f1..eecdddab06a962bed24c53574f9996dd32f052e6 100755 (executable)
 #include <TRandom.h>
 #include <TTUBE.h>
 #include <TVirtualMC.h>
+#include <AliESD.h>
 
 #include "AliLoader.h"
 #include "AliRun.h"
 #include "AliSTART.h"
+#include "AliSTARTLoader.h"
 #include "AliSTARTdigit.h"
 #include "AliSTARThit.h"
 #include "AliSTARThitPhoton.h"
-#include "AliSTARTvertex.h"
 #include "AliMC.h"
+#include "AliSTARTDigitizer.h"
 
 ClassImp(AliSTART)
 
@@ -89,7 +91,7 @@ AliSTART::AliSTART(const char *name, const char *title)
 
   fPhotons  = new TClonesArray("AliSTARThitPhoton", 10000);
   gAlice->GetMCApp()->AddHitList (fPhotons);
-  
+  if (GetDebug()>2) cout<<" Debug "<<endl;
   fIshunt     =  1;
   fIdSens   =  0;
   fNPhotons =  0;
@@ -254,10 +256,16 @@ void AliSTART::SetTreeAddress()
   
 }
 
+//______________________________________________________________________
+AliLoader* AliSTART::MakeLoader(const char* topfoldername)
+{ 
+  Info("MakeLoader", "Creating AliSTARTLoader. Top folder is %s.", topfoldername);
+  fLoader = new AliSTARTLoader(GetName(), topfoldername);
+  return fLoader;
+}
 
 //_____________________________________________________________________________
-
-void AliSTART::Hit2digit(Int_t /*evnum*/) 
+AliDigitizer* AliSTART::CreateDigitizer(AliRunDigitizer* manager) const
 {
+  return new AliSTARTDigitizer(manager);
 }
-