Belle II Software
development
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
{
25
class
ExtraInfoPrinterModule
:
public
Module
{
26
private
:
27
bool
m_printOnce
=
true
;
28
bool
m_hasPrinted
=
false
;
29
std::string
m_listName
;
30
StoreObjPtr<ParticleList>
m_list
;
31
StoreObjPtr<ParticleExtraInfoMap>
m_peem
;
32
StoreObjPtr<EventExtraInfo>
m_eee
;
33
public
:
35
ExtraInfoPrinterModule
();
37
virtual
void
initialize
()
override
;
39
virtual
void
event
()
override
;
40
};
42
}
// end namespace Belle2
Belle2::ExtraInfoPrinterModule
Prints the names of the ExtraInfos for a ParticleList or for the Event.
Definition:
ExtraInfoPrinterModule.h:25
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:32
Belle2::ExtraInfoPrinterModule::m_list
StoreObjPtr< ParticleList > m_list
the ParticleList itself
Definition:
ExtraInfoPrinterModule.h:30
Belle2::ExtraInfoPrinterModule::m_hasPrinted
bool m_hasPrinted
internal check if I've already printed
Definition:
ExtraInfoPrinterModule.h:28
Belle2::ExtraInfoPrinterModule::m_listName
std::string m_listName
name of the ParticleList
Definition:
ExtraInfoPrinterModule.h:29
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:27
Belle2::ExtraInfoPrinterModule::m_peem
StoreObjPtr< ParticleExtraInfoMap > m_peem
the map of particles to extra info
Definition:
ExtraInfoPrinterModule.h:31
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:
MillepedeAlgorithm.h:17
analysis
modules
ExtraInfoPrinter
include
ExtraInfoPrinterModule.h
Generated on Fri Nov 8 2024 02:32:23 for Belle II Software by
1.9.6