CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/L1Trigger/RegionalCaloTrigger/interface/L1RCTORCAMap.h

Go to the documentation of this file.
00001 #ifndef L1RCTORCAMap_h
00002 #define L1RCTORCAMap_h
00003 
00004 #include <vector>
00005 
00006 class L1RCTORCAMap {
00007 
00008  public:
00009  
00010   L1RCTORCAMap();
00011   
00012   std::vector<std::vector<std::vector<unsigned short> > > giveBarrel();
00013   std::vector<std::vector<unsigned short> > giveHF();
00014 
00015   void readData(std::vector<unsigned> emet, std::vector<unsigned>  hdet,
00016                 std::vector<bool> emfg, std::vector<bool> hdfg,
00017                 std::vector<unsigned> hfet);
00018 
00019   std::vector<int> orcamap(int eta, int phi);
00020 
00021   unsigned short combine(unsigned short et, unsigned short fg);
00022   std::vector<unsigned short> combVec(std::vector<unsigned short> et,
00023                                  std::vector<unsigned short> fg);
00024   
00025   void makeBarrelData();
00026   void makeHFData();
00027 
00028  private:
00029 
00030   std::vector<std::vector<std::vector<unsigned short> > > barrelData;
00031   std::vector<std::vector<unsigned short> > hfData;
00032 
00033   //the barrel data comes in big nasty strips of phi
00034   //increasing in eta from -3 up to 3
00035   //This has to be broken up into the proper tower number.
00036   //The following method does this
00037 
00038   std::vector<int> lowEtaMap(int eta, int phi);
00039   std::vector<int> highEtaMap(int eta, int phi);
00040 
00041   std::vector<unsigned short> rawEMET;
00042   std::vector<unsigned short> rawEMFG;
00043   std::vector<unsigned short> rawHDET;
00044   std::vector<unsigned short> rawHDFG; 
00045   std::vector<unsigned short> rawHFET;
00046   std::vector<unsigned short> combEM;
00047   std::vector<unsigned short> combHD;
00048 
00049 };
00050 
00051 #endif