Belle II Software development
FillTrackFitNtupleModule.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 <tracking/modules/trackingPerformanceEvaluation/PerformanceEvaluationBaseClass.h>
13
14#include <TNtuple.h>
15
16#include <framework/datastore/StoreArray.h>
17
18#include <mdst/dataobjects/Track.h>
19
20#include <tracking/dataobjects/RecoTrack.h>
21
22// forward declarations
23namespace Belle2 {
34
35 public:
36
39
41 void initialize() override;
42
44 void event() override;
45
47 void terminate() override;
48
49 private:
50
51 /* user-defined parameters */
52 std::string m_RecoTracksName;
53 std::string m_TracksName;
56 TNtuple* m_n_MultiParticle = nullptr;
60 };
62} // end of namespace
This module takes the Tracks and the RecoTrack input and produce a root file containing an nutple sho...
int m_ParticleHypothesis
Particle Hypothesis for the track fit (default: 211)
std::string m_TracksName
Track StoreArray name.
void initialize() override
Require the store arrays and create the output root file.
void event() override
Loop over Track objects and fill ntuples with tracking parameters.
void terminate() override
Save output root file with ntuple.
TNtuple * m_n_MultiParticle
Multi particle ntuple.
std::string m_RecoTracksName
RecoTrack StoreArray name.
FillTrackFitNtupleModule()
Default Empty Constructor.
StoreArray< RecoTrack > m_RecoTracks
RecoTrack StoreArray.
StoreArray< Track > m_Tracks
Track StoreArray.
Base class for Modules.
Definition: Module.h:72
This module takes the MCParticles, the genfit Tracks, the genfit TrackCand, and the MCTrackCands inpu...
Accessor to arrays stored in the data store.
Definition: StoreArray.h:113
Abstract base class for different kinds of events.