Macros

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
/** \class InvMatrixCommonDefs

    \brief common definitions that have to hold across different programs
    
*/

#ifndef __CINT__
#ifndef InvMatrixCommonDefs_h
#define InvMatrixCommonDefs_h

#include "Calibration/Tools/interface/CalibCoeff.h"

#include <map>

#define SCMaxPhi 20
#define SCMaxEta 85
//const int  SCMaxPhi = 20 ;
//const int  SCMaxEta = 85 ;

namespace ecalIM {

  typedef std::map<int, CalibCoeff> coeffMap;
  typedef std::map<int, CalibCoeff>::const_iterator coeffMapIt;
  typedef std::pair<coeffMapIt, coeffMapIt> coeffBlock;

  int uniqueIndex(int eta, int phi);

}  // namespace ecalIM
#endif
#endif