Belle II Software  release-06-01-15
TrackingSystematics.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 #include <analysis/dataobjects/Particle.h>
13 
14 namespace Belle2 {
29  public:
30 
35 
39  virtual void event() override;
40 
41  private:
43  std::vector<std::string> m_ParticleLists;
45  double m_frac;
46  }; //TrackingEfficiencyModule
47 
48 
52  class TrackingMomentumModule : public Module {
53  public:
58 
62  virtual void event() override;
63 
64  private:
66  std::vector<std::string> m_ParticleLists;
68  double m_scale;
69 
73  void setMomentumScalingFactor(Particle* particle);
74 
75  }; // TrackingMomentumModule
76 
78 }; //namespace
79 
Base class for Modules.
Definition: Module.h:72
Class to store reconstructed particles.
Definition: Particle.h:74
This set of module is designed for tracking systematics studies.
std::vector< std::string > m_ParticleLists
input particle lists
virtual void event() override
Function to be executed at each event.
double m_frac
fraction of particles to be removed from the particlelist
TrackingEfficiencyModule()
Constructor: Sets the description, the properties and the parameters of the module.
Tracking momentum systematics.
std::vector< std::string > m_ParticleLists
input particle lists
virtual void event() override
Function to be executed at each event.
void setMomentumScalingFactor(Particle *particle)
function to set momentum scaling factor
double m_scale
input momentum scale modifier
TrackingMomentumModule()
Constructor: Sets the description, the properties and the parameters of the module.
Abstract base class for different kinds of events.