Belle II Software
light-2406-ragdoll
ExtraInfoPrinterModule.h
1
/**************************************************************************
2
* basf2 (Belle II Analysis Software Framework) *
3
* Author: The Belle II Collaboration *
4
* *
5
* See git log for contributors and copyright holders. *
6
* This file is licensed under LGPL-3.0, see LICENSE.md. *
7
**************************************************************************/
8
9
#pragma once
10
#include <framework/core/Module.h>
11
#include <framework/datastore/StoreObjPtr.h>
12
13
#include <analysis/dataobjects/ParticleList.h>
14
#include <analysis/dataobjects/ParticleExtraInfoMap.h>
15
#include <framework/dataobjects/EventExtraInfo.h>
16
17
namespace
Belle2
{
28
class
ExtraInfoPrinterModule
:
public
Module
{
29
private
:
30
bool
m_printOnce
=
true
;
31
bool
m_hasPrinted
=
false
;
32
std::string
m_listName
;
33
StoreObjPtr<ParticleList>
m_list
;
34
StoreObjPtr<ParticleExtraInfoMap>
m_peem
;
35
StoreObjPtr<EventExtraInfo>
m_eee
;
36
public
:
38
ExtraInfoPrinterModule
();
40
virtual
void
initialize
()
override
;
42
virtual
void
event
()
override
;
43
};
45
}
// end namespace Belle2
Belle2::ExtraInfoPrinterModule
Prints the names of the ExtraInfos for a ParticleList or for the Event.
Definition:
ExtraInfoPrinterModule.h:28
Belle2::ExtraInfoPrinterModule::initialize
virtual void initialize() override
Initialises module.
Definition:
ExtraInfoPrinterModule.cc:26
Belle2::ExtraInfoPrinterModule::event
virtual void event() override
Called for each event.
Definition:
ExtraInfoPrinterModule.cc:36
Belle2::ExtraInfoPrinterModule::m_eee
StoreObjPtr< EventExtraInfo > m_eee
the EventExtraInfo
Definition:
ExtraInfoPrinterModule.h:35
Belle2::ExtraInfoPrinterModule::m_list
StoreObjPtr< ParticleList > m_list
the ParticleList itself
Definition:
ExtraInfoPrinterModule.h:33
Belle2::ExtraInfoPrinterModule::m_hasPrinted
bool m_hasPrinted
internal check if I've already printed
Definition:
ExtraInfoPrinterModule.h:31
Belle2::ExtraInfoPrinterModule::m_listName
std::string m_listName
name of the ParticleList
Definition:
ExtraInfoPrinterModule.h:32
Belle2::ExtraInfoPrinterModule::ExtraInfoPrinterModule
ExtraInfoPrinterModule()
Constructor.
Definition:
ExtraInfoPrinterModule.cc:15
Belle2::ExtraInfoPrinterModule::m_printOnce
bool m_printOnce
print for he first event or for all events?
Definition:
ExtraInfoPrinterModule.h:30
Belle2::ExtraInfoPrinterModule::m_peem
StoreObjPtr< ParticleExtraInfoMap > m_peem
the map of particles to extra info
Definition:
ExtraInfoPrinterModule.h:34
Belle2::Module
Base class for Modules.
Definition:
Module.h:72
Belle2::StoreObjPtr
Type-safe access to single objects in the data store.
Definition:
StoreObjPtr.h:96
Belle2
Abstract base class for different kinds of events.
Definition:
ClusterUtils.h:24
analysis
modules
ExtraInfoPrinter
include
ExtraInfoPrinterModule.h
Generated on Tue Jul 9 2024 23:26:37 for Belle II Software by
1.9.6