Belle II Software  release-05-02-19
RestOfEventPrinterModule.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2010 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Matic Lubej *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 
11 #pragma once
12 #include <framework/core/Module.h>
13 #include <string>
14 
15 #include <analysis/dataobjects/Particle.h>
16 
17 namespace Belle2 {
29  class RestOfEventPrinterModule : public Module {
30 
31  public:
32 
37 
42  virtual void initialize() override;
43 
47  virtual void event() override;
48 
49  private:
50 
51  std::vector<std::string> m_maskNames;
52  std::string m_whichMask;
53  bool m_fullPrint;
58  void printMaskParticles(const std::vector<const Particle*>& maskParticles) const;
59 
60 
61  };
62 
64 } // Belle2 namespace
65 
Belle2::RestOfEventPrinterModule::event
virtual void event() override
Event processor.
Definition: RestOfEventPrinterModule.cc:64
Belle2::RestOfEventPrinterModule::printMaskParticles
void printMaskParticles(const std::vector< const Particle * > &maskParticles) const
Prints out values of the specific ROE mask.
Definition: RestOfEventPrinterModule.cc:111
Belle2::RestOfEventPrinterModule::initialize
virtual void initialize() override
Initialize the Module.
Definition: RestOfEventPrinterModule.cc:59
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::RestOfEventPrinterModule::m_whichMask
std::string m_whichMask
Print Track mask (track), ECLCluster mask (cluster), or (both)?
Definition: RestOfEventPrinterModule.h:60
Belle2::RestOfEventPrinterModule::m_fullPrint
bool m_fullPrint
True: Print whole masks content.
Definition: RestOfEventPrinterModule.h:61
Belle2::RestOfEventPrinterModule::RestOfEventPrinterModule
RestOfEventPrinterModule()
Constructor.
Definition: RestOfEventPrinterModule.cc:45
Belle2::RestOfEventPrinterModule::m_maskNames
std::vector< std::string > m_maskNames
List of all mask names for which the info will be printed.
Definition: RestOfEventPrinterModule.h:59