Belle II Software
development
TouschekTURTLEInputModule.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
11
#include <framework/core/Module.h>
12
13
#include <TGeoMatrix.h>
14
#include <string>
15
16
17
namespace
Belle2
{
22
23
class
TouschekReaderTURTLE
;
24
32
class
TouschekTURTLEInputModule
:
public
Module
{
33
34
public
:
35
40
TouschekTURTLEInputModule
();
41
43
virtual
~TouschekTURTLEInputModule
();
44
49
virtual
void
initialize
()
override
;
50
52
virtual
void
event
()
override
;
53
55
TouschekTURTLEInputModule
(
const
TouschekTURTLEInputModule
&) =
delete
;
56
58
TouschekTURTLEInputModule
&
operator=
(
const
TouschekTURTLEInputModule
&) =
delete
;
59
60
61
protected
:
62
63
TouschekReaderTURTLE
*
m_readerHER
;
64
TouschekReaderTURTLE
*
m_readerLER
;
65
TGeoHMatrix*
m_herPipePartMatrix
;
66
TGeoHMatrix*
m_lerPipePartMatrix
;
67
68
std::string
m_filenameHER
;
69
std::string
m_filenameLER
;
70
bool
m_readHER
;
71
bool
m_readLER
;
72
int
m_maxParticles
;
73
double
m_zPos
;
74
};
75
77
}
// end namespace Belle2
78
Belle2::Module::Module
Module()
Constructor.
Definition
Module.cc:30
Belle2::TouschekReaderTURTLE
Class to read Touschek files and store their content in a MCParticle graph.
Definition
TouschekReaderTURTLE.h:34
Belle2::TouschekTURTLEInputModule::m_filenameHER
std::string m_filenameHER
The filename of the HER TURTLE Touschek file.
Definition
TouschekTURTLEInputModule.h:68
Belle2::TouschekTURTLEInputModule::TouschekTURTLEInputModule
TouschekTURTLEInputModule()
Constructor.
Definition
TouschekTURTLEInputModule.cc:34
Belle2::TouschekTURTLEInputModule::TouschekTURTLEInputModule
TouschekTURTLEInputModule(const TouschekTURTLEInputModule &)=delete
no copy
Belle2::TouschekTURTLEInputModule::~TouschekTURTLEInputModule
virtual ~TouschekTURTLEInputModule()
Destructor.
Definition
TouschekTURTLEInputModule.cc:58
Belle2::TouschekTURTLEInputModule::initialize
virtual void initialize() override
Checks the validity of the module parameters.
Definition
TouschekTURTLEInputModule.cc:65
Belle2::TouschekTURTLEInputModule::event
virtual void event() override
Reads the data and stores it into the MCParticle collection.
Definition
TouschekTURTLEInputModule.cc:95
Belle2::TouschekTURTLEInputModule::m_maxParticles
int m_maxParticles
The maximum number of particles per event that should be read.
Definition
TouschekTURTLEInputModule.h:72
Belle2::TouschekTURTLEInputModule::m_herPipePartMatrix
TGeoHMatrix * m_herPipePartMatrix
HER transformation matrix from TURTLE space into geant4 space.
Definition
TouschekTURTLEInputModule.h:65
Belle2::TouschekTURTLEInputModule::m_lerPipePartMatrix
TGeoHMatrix * m_lerPipePartMatrix
LER transformation matrix from TURTLE space into geant4 space.
Definition
TouschekTURTLEInputModule.h:66
Belle2::TouschekTURTLEInputModule::m_readerLER
TouschekReaderTURTLE * m_readerLER
The Touschek reader object for the LER data.
Definition
TouschekTURTLEInputModule.h:64
Belle2::TouschekTURTLEInputModule::operator=
TouschekTURTLEInputModule & operator=(const TouschekTURTLEInputModule &)=delete
no assignment
Belle2::TouschekTURTLEInputModule::m_readLER
bool m_readLER
If set to true reads the LER data and adds it to the MCParticle collection.
Definition
TouschekTURTLEInputModule.h:71
Belle2::TouschekTURTLEInputModule::m_filenameLER
std::string m_filenameLER
The filename of the LER TURTLE Touschek file.
Definition
TouschekTURTLEInputModule.h:69
Belle2::TouschekTURTLEInputModule::m_zPos
double m_zPos
The z Coordinate for all particles in the list in the file.
Definition
TouschekTURTLEInputModule.h:73
Belle2::TouschekTURTLEInputModule::m_readerHER
TouschekReaderTURTLE * m_readerHER
The Touschek reader object for the HER data.
Definition
TouschekTURTLEInputModule.h:63
Belle2::TouschekTURTLEInputModule::m_readHER
bool m_readHER
If set to true reads the HER data and adds it to the MCParticle collection.
Definition
TouschekTURTLEInputModule.h:70
Belle2
Abstract base class for different kinds of events.
Definition
MillepedeAlgorithm.h:17
generators
modules
include
TouschekTURTLEInputModule.h
Generated on Mon Sep 1 2025 02:52:33 for Belle II Software by
1.13.2