Fixing minor coding violation
authorcnattras <cnattras@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 20 Jun 2011 18:53:56 +0000 (18:53 +0000)
committercnattras <cnattras@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 20 Jun 2011 18:53:56 +0000 (18:53 +0000)
PWG4/totEt/AliAnalysisTaskHadEt.cxx
PWG4/totEt/AliAnalysisTaskHadEt.h

index d473a3a..d421d98 100644 (file)
@@ -37,7 +37,7 @@ ClassImp(AliAnalysisTaskHadEt)
         AliAnalysisTaskTransverseEnergy(name, isMc)
        ,fRecAnalysis(0)
        ,fMCAnalysis(0)
-       ,isSim(isMc)
+       ,fIsSim(isMc)
 {
     // Constructor
   fMCConfigFile = mcConfigFile;
@@ -85,7 +85,7 @@ void AliAnalysisTaskHadEt::UserCreateOutputObjects()
   fOutputList->SetOwner();
   fMCAnalysis->SetHistoList(fOutputList);
   fRecAnalysis->SetHistoList(fOutputList);
-  if(isSim) fMCAnalysis->CreateHistograms();
+  if(fIsSim) fMCAnalysis->CreateHistograms();
   fRecAnalysis->CreateHistograms();
 
 
@@ -174,7 +174,7 @@ if(res == 0 && cent){
 // if (!mcEvent) {
 //   Printf("ERROR: Could not retrieve MC event");
 //  }
-  if (mcEvent && fESDEvent && isSim){
+  if (mcEvent && fESDEvent && fIsSim){
       ((AliAnalysisHadEtMonteCarlo*)fMCAnalysis)->AnalyseEvent((AliVEvent*)mcEvent,(AliVEvent*)fESDEvent);
       if(fMCAnalysis->Full()){
        fMCAnalysis->FillSimTotEtMinusRecoTotEtFullAcceptanceTPC( fRecAnalysis->GetCorrectedTotEtFullAcceptanceTPC() );
index 5f54fa4..3f7d0bd 100644 (file)
@@ -27,7 +27,7 @@ public:
     virtual void   UserCreateOutputObjects();\r
     virtual void   UserExec(Option_t *option);\r
     virtual void   Terminate(Option_t *);\r
-    void IsSim(){isSim = kTRUE;}\r
+    void IsSim(){fIsSim = kTRUE;}\r
 \r
 private:\r
 \r
@@ -37,7 +37,7 @@ private:
 \r
     AliAnalysisHadEtReconstructed *fRecAnalysis; // Rec\r
     AliAnalysisHadEtMonteCarlo *fMCAnalysis; // MC\r
-    Bool_t isSim;//Boolean to keep track of whether or not this is running on simulations\r
+    Bool_t fIsSim;//Boolean to keep track of whether or not this is running on simulations\r
 \r
     ClassDef(AliAnalysisTaskHadEt, 2); // example of analysis\r
 };\r