Belle II Software development
ContinuumSuppressionBuilderModule.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/ParticleList.h>
13#include <analysis/dataobjects/ContinuumSuppression.h>
14
15#include <framework/database/DBObjPtr.h>
16#include <framework/datastore/StoreArray.h>
17#include <framework/datastore/StoreObjPtr.h>
18
19#include <mdst/dbobjects/BeamSpot.h>
20
21#include <string>
22
23namespace Belle2 {
28 class Particle;
34 public:
35
39 virtual void initialize() override;
41 virtual void event() override;
42
43 private:
44
48
49 ROOT::Math::XYZVector m_BeamSpotCenter;
50 TMatrixDSym m_beamSpotCov;
51
52 std::string m_particleListName;
53 std::string m_ROEMask;
54 double m_Bfield;
56
58 void addContinuumSuppression(const Particle* particle);
59
61 ROOT::Math::PxPyPzEVector ipProfileFit(const Particle* particle);
62 };
63
64}
TMatrixDSym m_beamSpotCov
Beam spot covariance matrix.
ROOT::Math::PxPyPzEVector ipProfileFit(const Particle *particle)
get 4Vector for CS calculation with or without IP profile fit
std::string m_particleListName
Name of the ParticleList.
virtual void initialize() override
initialize the module (setup the data store)
bool m_ipProfileFit
Switch to turn on / off vertex fit of tracks with IP profile constraint.
ROOT::Math::XYZVector m_BeamSpotCenter
Beam spot position.
DBObjPtr< BeamSpot > m_beamSpotDB
Beam spot database object.
void addContinuumSuppression(const Particle *particle)
calculate continuum suppression quantities
StoreArray< ContinuumSuppression > m_csarray
StoreArray of ContinuumSuppression.
StoreObjPtr< ParticleList > m_plist
input particle list
Class for accessing objects in the database.
Definition DBObjPtr.h:21
Module()
Constructor.
Definition Module.cc:30
Class to store reconstructed particles.
Definition Particle.h:76
Accessor to arrays stored in the data store.
Definition StoreArray.h:113
Type-safe access to single objects in the data store.
Definition StoreObjPtr.h:96
Abstract base class for different kinds of events.