Belle II Software development
VXDDedxPIDRemakerModule.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 <framework/datastore/StoreArray.h>
13#include <framework/database/DBObjPtr.h>
14
15namespace Belle2 {
20 class Track;
21 class VXDDedxTrack;
23 class SVDdEdxPDFs;
24 class PXDdEdxPDFs;
25
30
31 public:
32
35
38 {}
39
41 virtual void initialize() override;
42
44 virtual void event() override;
45
46 private:
47
49 void checkPDFs();
50
51 // module steering parameters
53 bool m_usePXD;
54 bool m_useSVD;
55
56 // collections
60
61 // PDF's for PID
64
65 };
66
68} // Belle2 namespace
Class for accessing objects in the database.
Definition DBObjPtr.h:21
Module()
Constructor.
Definition Module.cc:30
Specialized class for holding the PXD dE/dx PDFs.
Definition PXDdEdxPDFs.h:26
Specialized class for holding the SVD dE/dx PDFs.
Definition SVDdEdxPDFs.h:26
Accessor to arrays stored in the data store.
Definition StoreArray.h:113
Class that bundles various TrackFitResults.
Definition Track.h:25
Container for likelihoods obtained by the VXD dE/dx PID (VXDDedxPIDModule).
DBObjPtr< SVDdEdxPDFs > m_SVDDedxPDFs
look-up tables of SVD PDF's
bool m_usePXD
use PXD data for likelihood
StoreArray< VXDDedxLikelihood > m_dedxLikelihoods
collection of VXDDedxLikelihoods
DBObjPtr< PXDdEdxPDFs > m_PXDDedxPDFs
look-up tables of PXD PDF's
StoreArray< VXDDedxTrack > m_dedxTracks
collection of VXDDedxTracks
bool m_useSVD
use SVD data for likelihood
StoreArray< Track > m_tracks
collection of Tracks
bool m_useIndividualHits
use individual hits (true) or truncated mean (false) to determine likelihoods
Debug output for VXDDedxPID module.
virtual void initialize() override
Initialize the module.
virtual void event() override
This method is called for each event.
void checkPDFs()
Check the pdfs for consistency every time they change in the database.
Abstract base class for different kinds of events.