#ifndef TRIGSUMMARYMAKER_HH #define TRIGSUMMARYMAKER_HH //========================================== // // TrigSummaryMaker -- makes the TriggerSummary Object // // Authors: LSK modified from Prereq(Kevin McFarland, Kirsten Tollefson) // //========================================== #include "Framework/APPModule.hh" #include "Framework/AbsParmGeneral.hh" #include "Framework/AbsParmList.hh" #include "Level3Mods/RawTriggerQuery.hh" class TriggerMap; #include class TrigSummaryMaker : public AppModule { public: TrigSummaryMaker( const char* const theName = "TrigSummaryMaker", const char* const theDescription = "Summarizes L1,L2&L3 trig. bit info." ); virtual AppResult beginJob( AbsEvent* aJob ); virtual AppResult beginRun( AbsEvent* aRun ); virtual AppResult event( AbsEvent* anEvent ); virtual AppModule* clone(const char* cloneName); virtual ~TrigSummaryMaker( ); private: // Get Level-1 Bits from TFRD or TL2D AbsParmGeneral _GetL1TriggerBitsFromTFRD; AbsParmGeneral _GetL1TriggerBitsFromTL2D; AbsParmGeneral _GetL3TriggerBitsFromTL3D; AbsParmGeneral _UseUnprescaledBits; AbsParmGeneral _databaseForTrigger; // This summarizes the info. in the AbsParms RawTriggerQuery::rawTriggerSource _triggerSource; TriggerMap* _databaseTriggerMap; }; #endif