ATLAS Offline Software
PhysicsAnalysis
TopPhys
xAOD
TopEventSelectionTools
Root
PrintEventSelector.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
TopEventSelectionTools/PrintEventSelector.h
"
6
7
#include "
TopEvent/EventTools.h
"
8
9
#include "
TopCorrections/ScaleFactorRetriever.h
"
10
11
#include "
TopEventSelectionTools/MsgCategory.h
"
12
using namespace
TopEventSelectionTools;
13
14
namespace
top
{
15
bool
PrintEventSelector::apply
(
const
top::Event
&
event
)
const
{
16
//print some stuff about the event
17
ATH_MSG_INFO
(
event
);
18
return
true
;
19
}
20
21
bool
PrintEventSelector::applyParticleLevel(
const
top::ParticleLevelEvent
& plEvent)
const
{
22
//print some stuff about the event
23
ATH_MSG_INFO
(
"Particle Level\n"
<< plEvent);
24
return
true
;
25
}
26
27
std::string
PrintEventSelector::name
()
const
{
28
return
"PRINT"
;
29
}
30
}
top
TopConfig A simple configuration that is NOT a singleton.
Definition:
AnalysisTrackingHelper.cxx:58
ATH_MSG_INFO
#define ATH_MSG_INFO(x)
Definition:
AthMsgStreamMacros.h:31
MsgCategory.h
EventTools.h
A few functions for doing operations on particles / events. Currently holds code for dR,...
event
POOL::TEvent event(POOL::TEvent::kClassAccess)
top::ParticleLevelEvent
Definition:
ParticleLevelEvent.h:24
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:195
PrintEventSelector.h
top::Event
Very simple class to hold event data after reading from a file.
Definition:
Event.h:49
ScaleFactorRetriever.h
python.dqu_subprocess.apply
def apply(func, args)
Definition:
dqu_subprocess.py:11
Generated on Fri Jul 5 2024 21:24:59 for ATLAS Offline Software by
1.8.18