CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_4_5_patch3/src/L1Trigger/DTTrackFinder/src/L1MuDTTFConfig.h

Go to the documentation of this file.
00001 //-------------------------------------------------
00002 //
00013 //
00014 //--------------------------------------------------
00015 #ifndef L1MUDT_TF_CONFIG_H
00016 #define L1MUDT_TF_CONFIG_H
00017 
00018 //---------------
00019 // C++ Headers --
00020 //---------------
00021 
00022 #include <string>
00023 
00024 //----------------------
00025 // Base Class Headers --
00026 //----------------------
00027 
00028 //------------------------------------
00029 // Collaborating Class Declarations --
00030 //------------------------------------
00031 
00032 #include <FWCore/ParameterSet/interface/ParameterSet.h>
00033 #include <FWCore/Utilities/interface/InputTag.h>
00034 
00035 //              ---------------------
00036 //              -- Class Interface --
00037 //              ---------------------
00038 
00039 class L1MuDTTFConfig {
00040 
00041   public:
00042 
00044     L1MuDTTFConfig(const edm::ParameterSet & ps); 
00045      
00047     virtual ~L1MuDTTFConfig();
00048 
00049     static edm::InputTag getDTDigiInputTag() { return m_DTDigiInputTag; }
00050     static edm::InputTag getCSCTrSInputTag() { return m_CSCTrSInputTag; }
00051  
00052     static bool Debug() { return m_debug; }
00053     static bool Debug(int level) { return (m_debug && m_dbgLevel >= level); }
00054  
00055     static void setDebugLevel(int level) { m_dbgLevel = level; }
00056     static int  getDebugLevel() { return m_dbgLevel; }
00057     
00058     static int  getBxMin() { return m_BxMin; }
00059     static int  getBxMax() { return m_BxMax; }
00060     static bool overlap() { return m_overlap; }
00061     static int getExtTSFilter() { return m_extTSFilter; } 
00062     static bool getopenLUTs() { return m_openLUTs; } 
00063     static bool getUseEX21() { return m_useEX21; }
00064     static bool getEtaTF() { return m_etaTF; }
00065     static bool getTSOutOfTimeFilter() { return m_TSOutOfTimeFilter; }
00066     static int  getTSOutOfTimeWindow() { return m_TSOutOfTimeWindow; }
00067     static int getNbitsExtPhi() { return m_NbitsExtPhi; }
00068     static int getNbitsExtPhib() { return m_NbitsExtPhib; }
00069     static int getNbitsPtaPhi() { return m_NbitsPtaPhi; }
00070     static int getNbitsPtaPhib() { return m_NbitsPtaPhib; }
00071     static int getNbitsPhiPhi() { return m_NbitsPhiPhi; }
00072     static int getNbitsPhiPhib() { return m_NbitsPhiPhib; }        
00073 
00074   private:
00075   
00076     void setDefaults();
00077   
00078   private:
00079 
00080     const edm::ParameterSet* m_ps;
00081 
00082     static edm::InputTag m_DTDigiInputTag;
00083     static edm::InputTag m_CSCTrSInputTag;
00084 
00085     static bool   m_debug;             // debug flag 
00086     static int    m_dbgLevel;          // debug level
00087 
00088     static bool   m_overlap;           // barrel-endcap overlap region
00089        
00090     static int    m_BxMin;
00091     static int    m_BxMax;
00092 
00093     static int    m_extTSFilter;       // Extrapolation TS-Quality Filter
00094  
00095     static bool   m_openLUTs;          // use open LUTs
00096 
00097     static bool   m_useEX21;           // perform EX21 extrapolation (cross-check EX12)
00098 
00099     static bool   m_etaTF;             // use eta track finder
00100 
00101     static bool   m_TSOutOfTimeFilter; // perform out-of-time TS cancellation
00102     static int    m_TSOutOfTimeWindow; // phi window size to be checked
00103     
00104     static int    m_NbitsExtPhi;       // precision for extrapolation
00105     static int    m_NbitsExtPhib;    
00106     static int    m_NbitsPtaPhi;       // precision for pt-assignment
00107     static int    m_NbitsPtaPhib;    
00108     static int    m_NbitsPhiPhi;       // precision for phi-assignment
00109     static int    m_NbitsPhiPhib;
00110   
00111 };
00112 
00113 #endif