]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - T0/AliT0Trigger.cxx
fix some coding violations and error calculation
[u/mrichter/AliRoot.git] / T0 / AliT0Trigger.cxx
index c87b504f813799d3bf25071c3f4128493dd1f782..4360a30288af9eaa9e2dc06911c22eb831f6c3c1 100644 (file)
@@ -66,7 +66,7 @@ void AliT0Trigger::Trigger()
 {
   // trigger input
 
-   AliRunLoader* runLoader = gAlice->GetRunLoader();
+   AliRunLoader* runLoader = AliRunLoader::Instance();
    AliLoader * fT0Loader = runLoader->GetLoader("T0Loader");
    //   AliT0digit *fDigits; 
    fT0Loader->LoadDigits("READ");
@@ -77,7 +77,7 @@ void AliT0Trigger::Trigger()
     AliError("no digits tree");
     return;
   }
-  AliT0digit *fDigits = new AliT0digit();
+  fDigits = new AliT0digit();
 
   TBranch *brDigits = treeD->GetBranch("T0");
   if (brDigits) {