Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:30:34

0001 #ifndef INTERFACE_TTUWEDGEORLOGIC_H
0002 #define INTERFACE_TTUWEDGEORLOGIC_H 1
0003 
0004 // Include files
0005 #include "L1Trigger/RPCTechnicalTrigger/interface/TTULogic.h"
0006 #include "L1Trigger/RPCTechnicalTrigger/interface/TTUInput.h"
0007 
0008 #include <iostream>
0009 #include <vector>
0010 #include <map>
0011 
0012 /** @class TTUWedgeORLogic TTUWedgeORLogic.h interface/TTUWedgeORLogic.h
0013  *  
0014  *
0015  *  @author Andres Felipe Osorio Oliveros
0016  *  @date   2009-08-09
0017  */
0018 class TTUWedgeORLogic : public TTULogic {
0019 public:
0020   /// Standard constructor
0021   TTUWedgeORLogic();
0022 
0023   ~TTUWedgeORLogic() override;  ///< Destructor
0024 
0025   bool process(const TTUInput&) override;
0026 
0027   void setBoardSpecs(const TTUBoardSpecs::TTUBoardConfig&) override;
0028 
0029 protected:
0030 private:
0031   bool m_debug;
0032 
0033   int m_maxsectors;
0034 
0035   int m_maxwedges;
0036 
0037   std::map<int, int> m_wheelMajority;
0038 
0039   //std::vector<int> m_wedgeSector;
0040 
0041   std::map<int, int> m_wedgeSector;
0042 };
0043 #endif  // INTERFACE_TTUWEDGEORLOGIC_H