ATLAS Offline Software
Loading...
Searching...
No Matches
EventTrigInfoFillerTool.h
Go to the documentation of this file.
1// Dear emacs, this is -*- c++ -*-
2
3/*
4 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5*/
6
7// $Id: EventTrigInfoFillerTool.h 596731 2014-05-13 08:14:49Z wlampl $
8#ifndef EVENTCOMMOND3PDMAKER_EVENTTRIGINFOFILLERTOOL_H
9#define EVENTCOMMOND3PDMAKER_EVENTTRIGINFOFILLERTOOL_H
10
11// STL include(s):
12#include <vector>
13#include <string>
14
15// EDM include(s):
17
18// D3PDMaker include(s):
20
21namespace D3PD {
22
36 class EventTrigInfoFillerTool : public BlockFillerTool< xAOD::EventInfo > {
37
38 public:
40 EventTrigInfoFillerTool( const std::string& type,
41 const std::string& name,
42 const IInterface* parent );
43
45 virtual StatusCode book();
47 virtual StatusCode fill( const xAOD::EventInfo& ei );
48
49 private:
51 static bool streamPassed( const std::vector< xAOD::EventInfo::StreamTag >& stags,
52 const std::string& sname );
53
55 std::vector< bool* > m_streams;
56
58 std::vector< std::string > m_configStreams;
59
61 unsigned int* m_l1id;
62
63 }; // class EventTrigInfoFillerTool
64
65} // namespace D3PD
66
67#endif // EVENTCOMMOND3PDMAKER_EVENTTRIGINFOFILLERTOOL_H
Type-safe wrapper for block filler tools.
Type-safe wrapper for block filler tools.
EventTrigInfoFillerTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard AlgTool constructor.
static bool streamPassed(const std::vector< xAOD::EventInfo::StreamTag > &stags, const std::string &sname)
Function deciding if a given stream was passed.
virtual StatusCode fill(const xAOD::EventInfo &ei)
Fill the variables for this block.
unsigned int * m_l1id
Variable: Extended level 1 ID.
std::vector< bool * > m_streams
Streams to which this event was written.
std::vector< std::string > m_configStreams
Streams for which the decision should be stored.
virtual StatusCode book()
Book variables for this block.
Block filler tool for noisy FEB information.
EventInfo_v1 EventInfo
Definition of the latest event info version.