ATLAS Offline Software
Loading...
Searching...
No Matches
PhysicsAnalysis
D3PDMaker
EventCommonD3PDMaker
src
SkimDecisionFillerTool.h
Go to the documentation of this file.
1
// This file's extension implies that it's C, but it's really -*- C++ -*-.
2
3
/*
4
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
// $Id$
15
16
17
#ifndef EVENTCOMMOND3PDMAKER_SKIMDECISIONFILLERTOOL_H
18
#define EVENTCOMMOND3PDMAKER_SKIMDECISIONFILLERTOOL_H
19
20
21
#include "
D3PDMakerUtils/BlockFillerTool.h
"
22
#include "
EventBookkeeperMetaData/SkimDecisionCollection.h
"
23
#include <string>
24
#include <vector>
25
26
27
namespace
D3PD
{
28
29
34
class
SkimDecisionFillerTool
35
:
public
BlockFillerTool
<SkimDecisionCollection>
36
{
37
public
:
44
SkimDecisionFillerTool
(
const
std::string&
type
,
45
const
std::string& name,
46
const
IInterface* parent);
47
48
50
StatusCode
book
();
51
52
61
StatusCode
fill
(
const
SkimDecisionCollection
& p);
62
63
64
private
:
66
std::vector<std::string>
m_flags
;
67
70
std::string
m_anyPassedName
;
71
73
struct
Var
74
{
75
std::string
key
;
76
bool
*
val
;
77
};
78
80
std::vector<Var>
m_vars
;
81
83
bool
*
m_passed
;
84
};
85
86
87
}
// namespace D3PD
88
89
90
#endif
// EVENTCOMMOND3PDMAKER_SKIMDECISIONFILLERTOOL_H
91
BlockFillerTool.h
Type-safe wrapper for block filler tools.
SkimDecisionCollection.h
D3PD::BlockFillerTool
Type-safe wrapper for block filler tools.
Definition
BlockFillerTool.h:65
D3PD::SkimDecisionFillerTool::SkimDecisionFillerTool
SkimDecisionFillerTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard Gaudi tool constructor.
Definition
SkimDecisionFillerTool.cxx:29
D3PD::SkimDecisionFillerTool::m_flags
std::vector< std::string > m_flags
Property: List of decision flags to write.
Definition
SkimDecisionFillerTool.h:66
D3PD::SkimDecisionFillerTool::m_passed
bool * m_passed
Variable: Set to true if any of the specified flags passed.
Definition
SkimDecisionFillerTool.h:83
D3PD::SkimDecisionFillerTool::m_anyPassedName
std::string m_anyPassedName
Property: Name of a variable to set to true if any of the specified decision flags are true.
Definition
SkimDecisionFillerTool.h:70
D3PD::SkimDecisionFillerTool::fill
StatusCode fill(const SkimDecisionCollection &p)
Fill one block — type-safe version.
Definition
SkimDecisionFillerTool.cxx:95
D3PD::SkimDecisionFillerTool::m_vars
std::vector< Var > m_vars
List of variables being written.
Definition
SkimDecisionFillerTool.h:80
D3PD::SkimDecisionFillerTool::book
StatusCode book()
Book variables for this block.
Definition
SkimDecisionFillerTool.cxx:52
SkimDecisionCollection
Definition
SkimDecisionCollection.h:21
D3PD
Block filler tool for noisy FEB information.
Definition
CaloCellDetailsFillerTool.cxx:29
D3PD::SkimDecisionFillerTool::Var
Description of each variable being written.
Definition
SkimDecisionFillerTool.h:74
D3PD::SkimDecisionFillerTool::Var::val
bool * val
Definition
SkimDecisionFillerTool.h:76
D3PD::SkimDecisionFillerTool::Var::key
std::string key
Definition
SkimDecisionFillerTool.h:75
type
Generated on
for ATLAS Offline Software by
1.14.0