1- #ifndef GtBoard_h
2- #define GtBoard_h
1+ #ifndef L1Trigger_L1TGlobal_GlobalBoard_h
2+ #define L1Trigger_L1TGlobal_GlobalBoard_h
33
44/* *
55 * \class GlobalBoard
66 *
77 *
88 * Description: Global Trigger Logic board.
99 *
10- * Implementation:
11- * <TODO: enter implementation details>
12- *
1310 */
1411
1512// system include files
1815#include < vector>
1916#include < cmath>
2017#include < memory>
18+ #include < string>
2119
2220// user include files
2321#include " FWCore/Utilities/interface/typedefs.h"
4644
4745// forward declarations
4846class TriggerMenu ;
49- class L1CaloGeometry ;
50- class L1MuTriggerScales ;
51- // class L1GtEtaPhiConversions;
52-
53- // class declaration
5447
5548namespace l1t {
5649
@@ -107,19 +100,23 @@ namespace l1t {
107100 int bxFirst,
108101 int bxLast);
109102
110- // / run the uGT GTL (Conditions and Algorithms)
103+ // / initialise Trigger Conditions
104+ void initTriggerConditions (const edm::EventSetup& evSetup,
105+ const TriggerMenu* m_l1GtMenu,
106+ const int nrL1Mu,
107+ const int nrL1MuShower,
108+ const int nrL1EG,
109+ const int nrL1Tau,
110+ const int nrL1Jet);
111+
112+ // / run the uGT GTL (Algorithms, per-event decisions)
111113 void runGTL (const edm::Event& iEvent,
112114 const edm::EventSetup& evSetup,
113115 const TriggerMenu* m_l1GtMenu,
114116 const bool produceL1GtObjectMapRecord,
115117 const int iBxInEvent,
116118 std::unique_ptr<GlobalObjectMapRecord>& gtObjectMapRecord, // GTO
117- const unsigned int numberPhysTriggers,
118- const int nrL1Mu,
119- const int nrL1MuShower,
120- const int nrL1EG,
121- const int nrL1Tau,
122- const int nrL1Jet);
119+ const unsigned int numberPhysTriggers);
123120
124121 // / run the uGT FDL (Apply Prescales and Veto)
125122 void runFDL (const edm::Event& iEvent,
@@ -220,23 +217,6 @@ namespace l1t {
220217
221218 inline void enableAXOScoreSaving (bool savescore) { m_saveAXOScore = savescore; }
222219
223- private:
224- // cached stuff
225-
226- // trigger menu
227- const TriggerMenu* m_l1GtMenu;
228- unsigned long long m_l1GtMenuCacheID;
229-
230- // L1 scales (phi, eta) for Mu, Calo and EnergySum objects
231- const L1CaloGeometry* m_l1CaloGeometry;
232- unsigned long long m_l1CaloGeometryCacheID;
233-
234- const L1MuTriggerScales* m_l1MuTriggerScales;
235- unsigned long long m_l1MuTriggerScalesCacheID;
236-
237- // conversions for eta and phi
238- // L1GtEtaPhiConversions* m_gtEtaPhiConversions;
239-
240220 private:
241221 BXVector<const l1t::Muon*>* m_candL1Mu;
242222 BXVector<std::shared_ptr<l1t::MuonShower>>* m_candL1MuShower;
@@ -264,8 +244,9 @@ namespace l1t {
264244
265245 // for optional software-only saving of axol1tl score
266246 AXOL1TLScore m_uGtAXOScore; // score dataformat
267- float m_storedAXOScore = -999.0 ; // score from cond class
247+ float m_storedAXOScore = -999 .f ; // score from cond class
268248 bool m_saveAXOScore = false ;
249+ std::string m_axoScoreConditionName;
269250
270251 // cache of maps
271252 std::vector<AlgorithmEvaluation::ConditionEvaluationMap> m_conditionResultMaps;
@@ -284,13 +265,6 @@ namespace l1t {
284265 bool m_algFinalOr;
285266 bool m_algFinalOrVeto;
286267
287- // Counter for number of events seen by this board
288- unsigned int m_boardEventCount;
289-
290- // Information about board
291- int m_uGtBoardNumber;
292- bool m_uGtFinalBoard;
293-
294268 // whether we reset the prescales each lumi or not
295269 bool m_resetPSCountersEachLumiSec = false ;
296270
0 commit comments