ATLAS Offline Software
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 
6 
7 #include "TopEvent/EventTools.h"
8 
10 
12 using namespace TopEventSelectionTools;
13 
14 namespace top {
16  //print some stuff about the 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