Belle II Software  release-05-02-19
ECLDumpGeometryModule.h
1 /**************************************************************************
2 * BASF2 (Belle Analysis Framework 2) *
3 * Copyright(C) 2020 - Belle II Collaboration *
4 * *
5 * Author: The Belle II Collaboration *
6 * Contributors: Christopher Hearty hearty@physics.ubc.ca *
7 * *
8 * Print out the location and direction of every ECL crystal *
9 * Sample script: ecl/examples/EclDumpGeometry.py *
10 * *
11 * This software is provided "as is" without any warranty. *
12 **************************************************************************/
13 
14 #pragma once
15 
16 #include <framework/core/Module.h>
17 
18 namespace Belle2 {
28  class ECLDumpGeometryModule : public Module {
29 
30  public:
31 
36 
38  virtual void initialize() override;
39 
41  virtual void event() override;
42 
43  private:
44  bool firstEvent = true;
46  };
48 }
49 
Belle2::ECLDumpGeometryModule::ECLDumpGeometryModule
ECLDumpGeometryModule()
Constructor: Sets the description, the properties and the parameters of the module.
Definition: ECLDumpGeometryModule.cc:27
Belle2::ECLDumpGeometryModule::firstEvent
bool firstEvent
print out geometry in the first event
Definition: ECLDumpGeometryModule.h:55
Belle2::ECLDumpGeometryModule::initialize
virtual void initialize() override
Register input and output data.
Definition: ECLDumpGeometryModule.cc:35
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::ECLDumpGeometryModule::event
virtual void event() override
Event.
Definition: ECLDumpGeometryModule.cc:40