ATLAS Offline Software
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 
21 namespace 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
D3PD::EventTrigInfoFillerTool::streamPassed
static bool streamPassed(const std::vector< xAOD::EventInfo::StreamTag > &stags, const std::string &sname)
Function deciding if a given stream was passed.
Definition: EventTrigInfoFillerTool.cxx:73
D3PD::EventTrigInfoFillerTool::book
virtual StatusCode book()
Book variables for this block.
Definition: EventTrigInfoFillerTool.cxx:26
D3PD::EventTrigInfoFillerTool::m_l1id
unsigned int * m_l1id
Variable: Extended level 1 ID.
Definition: EventTrigInfoFillerTool.h:61
D3PD::EventTrigInfoFillerTool::EventTrigInfoFillerTool
EventTrigInfoFillerTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard AlgTool constructor.
Definition: EventTrigInfoFillerTool.cxx:15
D3PD::EventTrigInfoFillerTool::fill
virtual StatusCode fill(const xAOD::EventInfo &ei)
Fill the variables for this block.
Definition: EventTrigInfoFillerTool.cxx:44
BlockFillerTool.h
Type-safe wrapper for block filler tools.
D3PD
Block filler tool for noisy FEB information.
Definition: InnerDetector/InDetMonitoring/InDetGlobalMonitoring/macros/EnhancedPrimaryVertexMonitoring/TrigD3PD/ChainGroup.h:21
D3PD::EventTrigInfoFillerTool::m_streams
std::vector< bool * > m_streams
Streams to which this event was written.
Definition: EventTrigInfoFillerTool.h:55
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
D3PD::EventTrigInfoFillerTool::m_configStreams
std::vector< std::string > m_configStreams
Streams for which the decision should be stored.
Definition: EventTrigInfoFillerTool.h:58
test_pyathena.parent
parent
Definition: test_pyathena.py:15
D3PD::BlockFillerTool
Type-safe wrapper for block filler tools.
Definition: BlockFillerTool.h:68
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
EventInfo.h
xAOD::EventInfo_v1
Class describing the basic event information.
Definition: EventInfo_v1.h:43
D3PD::EventTrigInfoFillerTool
Tool writing the stream decisions to D3PDs.
Definition: EventTrigInfoFillerTool.h:36
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78