Coding rule violations corrected.
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 10 Aug 2009 15:07:30 +0000 (15:07 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 10 Aug 2009 15:07:30 +0000 (15:07 +0000)
JETAN/AliJetAODReader.cxx
JETAN/AliJetESDReader.cxx
JETAN/AliJetESDReader.h

index de57ba7..e80305c 100644 (file)
@@ -287,6 +287,10 @@ void AliJetAODReader::SetFractionHadronicCorrection(Double_t val)
 //____________________________________________________________________________
 void AliJetAODReader::CreateTasks(TChain* tree)
 {
+  //
+  // For reader task initialization
+  //
+
   fDebug = fReaderHeader->GetDebug();
   fDZ = fReaderHeader->GetDZ();
   fTree = tree;
index 0902383..a6a9058 100755 (executable)
@@ -55,9 +55,6 @@ ClassImp(AliJetESDReader)
 AliJetESDReader::AliJetESDReader():
   AliJetReader(),  
   fGeom(0),
-  fChain(0x0),
-  fTree(0x0),
-  fESD(0x0),
   fHadCorr(0x0),
   fTpcGrid(0x0),
   fEmcalGrid(0x0),
@@ -68,7 +65,6 @@ AliJetESDReader::AliJetESDReader():
   fGrid4(0),
   fPtCut(0),
   fApplyElectronCorrection(kFALSE),
-  fEFlag(kFALSE),
   fApplyMIPCorrection(kTRUE),
   fApplyFractionHadronicCorrection(kFALSE),
   fFractionHadronicCorrection(0.3),
@@ -81,7 +77,6 @@ AliJetESDReader::AliJetESDReader():
   fDZ(0),
   fNeta(0),
   fNphi(0),
-  fArrayInitialised(0),
   fRefArray(0x0),
   fProcId(kFALSE)
 {
index 35983a5..0c9a01f 100755 (executable)
@@ -37,7 +37,7 @@ class AliJetESDReader : public AliJetReader
   void       OpenInputFiles();
   void       InitUnitArray();
   void       CreateTasks(TChain* tree);
-  Bool_t     ExecTasks(Bool_t procid, TRefArray* refArray);
+  Bool_t     ExecTasks(const Bool_t procid, TRefArray* refArray);
 
   // Getters
   Float_t    GetTrackMass() const {return fMass;}  // returns mass of the track
@@ -56,9 +56,6 @@ class AliJetESDReader : public AliJetReader
 
  protected:
   AliJetDummyGeo             *fGeom;             //! EMCAL Geometry 
-  TChain                     *fChain;            //! chain for reconstructed tracks
-  TChain                     *fTree;             //! tree to get the EMCal geometry
-  AliESDEvent                *fESD;              //! pointer to esd
   AliJetHadronCorrection     *fHadCorr;          //! Pointer to Hadron Correction Object 
   AliJetGrid                 *fTpcGrid;          //! Pointer to grid object
   AliJetGrid                 *fEmcalGrid;        //! Pointer to grid object
@@ -69,7 +66,6 @@ class AliJetESDReader : public AliJetReader
   AliJetGrid                 *fGrid4;            // Pointer to grid object
   Float_t                     fPtCut;            // Pt cut for tracks to minimise background contribution
   Int_t                       fApplyElectronCorrection;      // Electron correction flag
-  Bool_t                      fEFlag;            // if (fEFlag == kFALSE) => fECorrection automatically setted
   Bool_t                      fApplyMIPCorrection; // Apply MIP or not ? Exclusive with fApplyFractionHadronicCorrection
   Bool_t                      fApplyFractionHadronicCorrection; // Another type of charged particle energy deposition in EMC
   Double_t                    fFractionHadronicCorrection; // Fraction of momentum of the TPC track to be subtracted from EMC tower
@@ -83,11 +79,8 @@ class AliJetESDReader : public AliJetReader
   Bool_t                      fDZ;               // Use or not dead zones
   Int_t                       fNeta;             // Number of bins in eta of tpc grid
   Int_t                       fNphi;             // Number of bins in phi of tpc grid
-  Bool_t                      fArrayInitialised; // To check that array of units is initialised
-  TRefArray                  *fRefArray;         // array of digit position and energy 
+  TRefArray                  *fRefArray;         // array of digit position and energy
   Bool_t                      fProcId;           // Bool_t for TProcessID synchronization
-
- private:
   Bool_t SetEMCALGeometry();
   void InitParameters();
   AliJetESDReader(const AliJetESDReader &det);