CMS 3D CMS Logo

Defines | Functions

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/CalibCalorimetry/EcalCorrelatedNoiseAnalysisAlgos/src/TEcnaHistos.cc File Reference

#include "CalibCalorimetry/EcalCorrelatedNoiseAnalysisAlgos/interface/TEcnaHistos.h"

Go to the source code of this file.

Defines

#define IYAX
#define MGRA

Functions

 ClassImp (TEcnaHistos) TEcnaHistos

Define Documentation

#define IYAX
#define MGRA

Function Documentation

ClassImp ( TEcnaHistos  )

Definition at line 7 of file TEcnaHistos.cc.

References gather_cfg::cout.

{
  //destructor

  if (fT1DRunNumber != 0){delete [] fT1DRunNumber; fCdelete++;}
  
  //if (fCnaParHistos  != 0){delete fCnaParHistos;  fCdelete++;}
  //if (fCnaParPaths   != 0){delete fCnaParPaths;   fCdelete++;}
  //if (fCnaParCout    != 0){delete fCnaParCout;    fCdelete++;}
  //if (fCnaWrite      != 0){delete fCnaWrite;      fCdelete++;}
  //if (fEcal          != 0){delete fEcal;          fCdelete++;}
  //if (fEcalNumbering != 0){delete fEcalNumbering; fCdelete++;}

  if (fMyRootFile     != 0){delete fMyRootFile;      fCdelete++;}

//%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

  if ( fCnew != fCdelete )
    {
      cout << "*TEcnaHistos> WRONG MANAGEMENT OF ALLOCATIONS: fCnew = "
           << fCnew << ", fCdelete = " << fCdelete << fTTBELL << endl;
    }
  else
    {
     //  cout << "*TEcnaHistos> BRAVO! GOOD MANAGEMENT OF ALLOCATIONS: fCnew = "
     //       << fCnew << ", fCdelete = " << fCdelete << endl;
    }

#define MGRA
#ifndef MGRA
  if ( fCnewRoot != fCdeleteRoot )
    {
      cout << "*TEcnaHistos> WRONG MANAGEMENT OF ROOT ALLOCATIONS: fCnewRoot = "
           << fCnewRoot << ", fCdeleteRoot = " << fCdeleteRoot << endl;
    }
  else
    {
      cout << "*TEcnaHistos> BRAVO! GOOD MANAGEMENT OF ROOT ALLOCATIONS:"
           << " fCnewRoot = " << fCnewRoot <<", fCdeleteRoot = "
           << fCdeleteRoot << endl;
    }
#endif // MGRA

  // cout << "TEcnaHistos> Leaving destructor" << endl;
  // cout << "            fCnew = " << fCnew << ", fCdelete = " << fCdelete << endl;

 // cout << "[Info Management] CLASS: TEcnaHistos.        DESTROY OBJECT: this = " << this << endl;

}