]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliLoader.cxx
Initial revision.
[u/mrichter/AliRoot.git] / STEER / AliLoader.cxx
index b68518dde4a8537499cc1c3d7aa5c4dbe2eea2c8..f2eac1acd8942df3bb850cd213705d2c18d05636 100644 (file)
@@ -7,7 +7,7 @@
 //Author: Alice Offline Group http://alisoft.cern.ch
 //Responsible: Piotr.Skowronski@cern.ch
 //
-#include <AliLoader.h>
+#include "AliLoader.h"
 
 //Root includes
 #include <TROOT.h>
@@ -510,6 +510,7 @@ void AliLoader::MakeTree(Option_t *option)
 //   S: - Summable Digits
 //   R: - Reconstructed Points (clusters)
 //   T: - Tracks (tracklets)
+//   GG: - Trigger
 
   const char *oH = strstr(option,"H");
   const char *oD = strstr(option,"D");
@@ -517,6 +518,7 @@ void AliLoader::MakeTree(Option_t *option)
   const char *oR = strstr(option,"R");
   const char *oT = strstr(option,"T");
   const char *oP = strstr(option,"P");
+  const char *oGG = strstr(option,"GG");
   
   if (oH) MakeHitsContainer();
   if (oD) MakeDigitsContainer();
@@ -524,6 +526,7 @@ void AliLoader::MakeTree(Option_t *option)
   if (oR) MakeRecPointsContainer();
   if (oT) MakeTracksContainer();
   if (oP) MakeRecParticlesContainer();
+  if (oGG) AliError("Don't know how to create a trigger tree");
  }
 
 /*****************************************************************************/ 
@@ -831,7 +834,7 @@ Bool_t  AliLoader::TestFileOption(Option_t* opt)
 /*****************************************************************************/ 
 void  AliLoader::SetDirName(TString& dirname)
 {
-//adds "dirname/" to each file 
+//adds "dirname" to each file. Dirname should end with "#","/", or ":" 
   TIter next(fDataLoaders);
   AliDataLoader* dl;
   while((dl = (AliDataLoader*)next()))