Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:19:40

0001 //-------------------------------------------------
0002 //
0003 /**   \Class DTSectCollThCand.h
0004  *    A Trigger Server Theta Candidate
0005  *
0006  *  
0007  *
0008  *   \Author C. Battilana
0009  */
0010 //
0011 //--------------------------------------------------
0012 #ifndef DT_SECT_COLL_TH_CAND_H
0013 #define DT_SECT_COLL_TH_CAND_H
0014 
0015 //----------------------
0016 // Base Class Headers --
0017 //----------------------
0018 #include "L1TriggerConfig/DTTPGConfig/interface/DTConfigSectColl.h"
0019 #include "L1Trigger/DTSectorCollector/interface/DTSC.h"
0020 #include "L1Trigger/DTTriggerServerTheta/interface/DTChambThSegm.h"
0021 
0022 //---------------
0023 // C++ Headers --
0024 //---------------
0025 #include <string>
0026 
0027 //              ---------------------
0028 //              -- Class Interface --
0029 //              ---------------------
0030 
0031 class DTSectCollThCand {
0032 public:
0033   DTSectCollThCand(DTSC*, const DTChambThSegm*);
0034 
0035   //!  Constructor
0036   DTSectCollThCand();
0037 
0038   //!  Constructor
0039   DTSectCollThCand(const DTSectCollThCand& tsccand);
0040 
0041   //! Assignment operator
0042   DTSectCollThCand& operator=(const DTSectCollThCand& tsccand);
0043 
0044   //!  Destructor
0045   ~DTSectCollThCand();
0046 
0047   // Non-const methods
0048 
0049   //! Clear the trigger
0050   inline void clear();
0051 
0052   // Const methods
0053 
0054   //! Configuration set
0055   inline const DTConfigSectColl* config() const { return _tsc->config(); }
0056 
0057   //! Return the DTTSS
0058   inline DTSC* tsc() const { return _tsc; }
0059 
0060   //! Return associated TSTheta trigger
0061   inline const DTChambThSegm* tsTr() const { return _tstsegm; }
0062 
0063   //! Print the trigger
0064   void print() const;
0065 
0066   //! Return the Coarse Sync Parameter
0067   int CoarseSync() const;
0068 
0069 private:
0070   DTSC* _tsc;
0071   const DTChambThSegm* _tstsegm;
0072 };
0073 #endif