Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:22:14

0001 //-------------------------------------------------
0002 //
0003 /**  \class DTConfigTSTheta
0004  *
0005  *   Configurable parameters and constants 
0006  *   for Level-1 Muon DT Trigger - TS Theta
0007  *
0008  *
0009  *   \author c. Battilana
0010  *
0011  */
0012 //
0013 //--------------------------------------------------
0014 #ifndef DT_CONFIG_TSTHETA_H
0015 #define DT_CONFIG_TSTHETA_H
0016 
0017 //---------------
0018 // C++ Headers --
0019 //---------------
0020 
0021 //----------------------
0022 // Base Class Headers --
0023 //----------------------
0024 
0025 //------------------------------------
0026 // Collaborating Class Declarations --
0027 //------------------------------------
0028 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0029 #include "L1TriggerConfig/DTTPGConfig/interface/DTConfig.h"
0030 
0031 //              ---------------------
0032 //              -- Class Interface --
0033 //              ---------------------
0034 
0035 class DTConfigTSTheta : public DTConfig {
0036 public:
0037   /*   //! Constants: first and last step to start trigger finding */
0038   /*   static const int NSTEPL=24, NSTEPF=9; */
0039 
0040   //! Constants: number of cell (BTI) in theta view planes
0041   static const int NCELLTH = 57;
0042 
0043   //! Constructor
0044   DTConfigTSTheta(const edm::ParameterSet& ps);
0045 
0046   //! Constructor
0047   DTConfigTSTheta();
0048 
0049   //! Destructor
0050   ~DTConfigTSTheta() override;
0051 
0052   //! Return the debug flag
0053   inline bool debug() const { return m_debug; }
0054 
0055   //! Print the setup
0056   void print() const;
0057 
0058   //! Set debug flag
0059   inline void setDebug(bool debug) { m_debug = debug; }
0060 
0061 private:
0062   //! Load pset values into class variables
0063   void setDefaults(const edm::ParameterSet& ps);
0064 
0065   bool m_debug;
0066 };
0067 
0068 #endif