]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWG4/totEt/AliAnalysisTaskTransverseEnergy.cxx
Fixing some coding violations. Mostly not enough comments at the top of the file.
[u/mrichter/AliRoot.git] / PWG4 / totEt / AliAnalysisTaskTransverseEnergy.cxx
index 1ebe309ae27caaebef2d711ca89ea133b41aa8b8..36853116ea156000490a6dbef78eee1a598baf31 100644 (file)
@@ -6,6 +6,14 @@
 #include "AliPhysicsSelection.h"
 #include "AliESDCentrality.h"
 #include "AliESDEvent.h"
+//_________________________________________________________________________
+//  Utility Class for transverse energy studies
+//  Base class for Et tasks
+//  - reconstruction and MonteCarlo output
+//
+//*-- Authors: Oystein Djuvsland (Bergen)
+//_________________________________________________________________________//
+#include "AliESDtrackCuts.h"
 #include "AliLog.h"
 #include <iostream>
 
@@ -25,7 +33,7 @@ AliAnalysisTaskTransverseEnergy::AliAnalysisTaskTransverseEnergy(const char* nam
         ,fCentSelTaskName("centralityTask")
        ,fIsMc(isMc)
        ,fUsingDefaultSelection(true)
-       ,fCurrentRunNumber(-1)
+       ,fCurrentRunNum(-1)
        ,fSelectionHandler(0)
 {
   // Constructor
@@ -40,7 +48,7 @@ AliAnalysisTaskTransverseEnergy::~AliAnalysisTaskTransverseEnergy()
 Int_t AliAnalysisTaskTransverseEnergy::CheckPhysicsSelection(Int_t runNumber)
 {
   // Check if the physics selection is valid, if not load a new one
-    if (runNumber == fCurrentRunNumber || fIsMc)
+    if (runNumber == fCurrentRunNum || fIsMc)
     {
         return 0;
     }
@@ -78,7 +86,7 @@ Int_t AliAnalysisTaskTransverseEnergy::CheckPhysicsSelection(Int_t runNumber)
         AliInputEventHandler* handler = dynamic_cast<AliInputEventHandler*> (AliAnalysisManager::GetAnalysisManager()->GetInputEventHandler());
         physSelTask->SetPhysicsSelection(selection);
         handler->SetEventSelection(selection);
-        fCurrentRunNumber = runNumber;
+        fCurrentRunNum = runNumber;
 
     }