Belle II Software  release-08-01-10
RestOfEventPrinterModule.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 <string>
12 
13 #include <analysis/dataobjects/Particle.h>
14 
15 namespace Belle2 {
28 
29  public:
30 
35 
40  virtual void initialize() override;
41 
45  virtual void event() override;
46 
47  private:
48 
49  std::vector<std::string> m_maskNames;
50  bool m_fullPrint;
55  void printMaskParticles(const std::vector<const Particle*>& maskParticles) const;
56 
57 
58  };
59 
61 } // Belle2 namespace
62 
Base class for Modules.
Definition: Module.h:72
prints ROE information and masks to screen
bool m_fullPrint
True: Print whole masks content.
virtual void initialize() override
Initialize the Module.
virtual void event() override
Event processor.
std::vector< std::string > m_maskNames
List of all mask names for which the info will be printed.
bool m_unpackComposites
True: Replace composite particles or V0 by their daughters, default is true.
void printMaskParticles(const std::vector< const Particle * > &maskParticles) const
Prints out values of the specific ROE mask.
Abstract base class for different kinds of events.