]> 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 9097fb4fb4b52028b8f21b8e275cd0906d64fda9..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"
 
@@ -90,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;
@@ -255,11 +256,12 @@ void AliSTART::SetTreeAddress()
   
 }
 
-
-//_____________________________________________________________________________
-
-void AliSTART::Hit2digit(Int_t /*evnum*/) 
-{
+//______________________________________________________________________
+AliLoader* AliSTART::MakeLoader(const char* topfoldername)
+{ 
+  Info("MakeLoader", "Creating AliSTARTLoader. Top folder is %s.", topfoldername);
+  fLoader = new AliSTARTLoader(GetName(), topfoldername);
+  return fLoader;
 }
 
 //_____________________________________________________________________________