![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
23 int vrun=0, vtrig=0, vnvtx=0;
double vdt=0.0;
int ne=0;
uint64_t vevent=0;
25 int r = fscanf(vfile,
"%i %lu %i %i %lf\n", &vrun, &vevent, &vtrig, &vnvtx, &vdt);
27 ATH_MSG_DEBUG(
"Read "<<
r<<
" filter values: "<<vrun<<
"/"<<vevent<<
" "<<vtrig<<
","<<vnvtx<<
","<<vdt);
29 ATH_MSG_WARNING(
"Already filter info for run/event "<<vrun<<
"/"<<vevent<<
", magic="
68 return StatusCode::SUCCESS;
77 return StatusCode::SUCCESS;
85 "svcMgr.EvtIdModifierSvc.add_modifier(run_nbr=%d, evt_nbr=%ld, time_stamp=%d, lbk_nbr=%d, nevts=1)\n",
86 evt.run_number(),
evt.event_number(),
evt.time_stamp(),
evt.lumi_block());
95 const EventContext& ctx{Gaudi::Hive::currentContext()};
96 const EventIDBase&
evt{ctx.eventID()};
104 std::ostringstream oss;
112 fprintf(
m_ffile,
"run_nbr=%d, evt_nbr=%ld, time_stamp=%d, lbk_nbr=%d, %s\n",
113 evt.run_number(),
evt.event_number(),
evt.time_stamp(),
evt.lumi_block(), oss.str().c_str());
118 setFilterPassed(
true);
124 setFilterPassed(
false);
129 const auto run =
evt.run_number();
130 const auto event =
evt.event_number();
144 run<<
" "<<
event<<
", trig run dt magic: "<<
152 setFilterPassed(
true);
158 setFilterPassed(
false);
161 return StatusCode::SUCCESS;
bool passed(DecisionID id, const DecisionIDContainer &idSet)
checks if required decision ID is in the set of IDs in the container
Gaudi::Property< std::string > m_j40
ServiceHandle< TrigConf::ITrigConfigSvc > m_trigConf
virtual StatusCode execute() override
Gaudi::Property< std::string > m_filterfile
virtual StatusCode finalize() override
std::map< int, std::map< uint64_t, filterinfo > > m_filtermap
POOL::TEvent event(POOL::TEvent::kClassAccess)
Gaudi::Property< std::string > m_l1ZB
const HLTPrescale & prescale(const std::string &chainName) const
HLT prescales by chain names.
::StatusCode StatusCode
StatusCode definition for legacy code.
BSFilter(const std::string &name, ISvcLocator *pSvcLocator)
PublicToolHandle< Trig::TrigDecisionTool > m_trigDecTool
Gaudi::Property< std::string > m_noalg
#define ATH_MSG_WARNING(x)
void writeEventIdFile(const EventIDBase &evt) const
virtual StatusCode initialize() override
Gaudi::Property< std::string > m_EventIdFile