Go to the documentation of this file.00001 #ifndef VFillMap_H
00002 #ifndef __CINT__
00003 #define VFillMap_H
00004
00005 #include <map>
00006 #include <vector>
00007 #include "DataFormats/EcalRecHit/interface/EcalRecHitCollections.h"
00008 #include "DataFormats/DetId/interface/DetId.h"
00009 #include "CondFormats/DataRecord/interface/EcalIntercalibConstantsRcd.h"
00010 #include "CondFormats/EcalObjects/interface/EcalIntercalibConstants.h"
00011
00012 class VFillMap
00013 {
00014 public:
00016 VFillMap (int ,
00017 int ,
00018 std::map<int,int> ,
00019 double,
00020 double,
00021 std::map<int,int>,
00022 EcalIntercalibConstantMap *,
00023 EcalIntercalibConstantMap *);
00024
00026 virtual ~VFillMap () {};
00028 virtual void fillMap (const std::vector<std::pair<DetId,float> > &,
00029 const DetId,
00030 const EcalRecHitCollection *,
00031 const EcalRecHitCollection *,
00032 std::map<int,double> & xtlMap,
00033 double & ) = 0;
00034
00035 int m_recoWindowSidex;
00036 int m_recoWindowSidey;
00037 std::map<int,int> m_xtalRegionId;
00038 double m_minEnergyPerCrystal;
00039 double m_maxEnergyPerCrystal;
00040 std::map<int,int> m_IndexInRegion;
00041 EcalIntercalibConstantMap * m_barrelMap;
00042 EcalIntercalibConstantMap * m_endcapMap;
00043
00044 };
00045 #endif
00046 #endif