 |
Belle II Software
release-05-01-25
|
13 #include <framework/core/Module.h>
18 #include <framework/database/DBObjPtr.h>
19 #include <framework/datastore/StoreArray.h>
20 #include <framework/datastore/StoreObjPtr.h>
23 #include <mdst/dbobjects/BeamSpot.h>
24 #include <analysis/dataobjects/ParticleList.h>
25 #include <analysis/dataobjects/Btube.h>
28 #include <analysis/VertexFitting/RaveInterface/RaveSetup.h>
29 #include <analysis/VertexFitting/RaveInterface/RaveVertexFitter.h>
30 #include <analysis/VertexFitting/RaveInterface/RaveKinematicVertexFitter.h>
32 #include <analysis/DecayDescriptor/DecayDescriptor.h>
43 class BtubeCreatorModule :
public Module {
56 virtual void event()
override;
double m_Bfield
magnetic field from data base
virtual void initialize() override
declare data store elements
StoreArray< Btube > tubeArray
the (output) array of Btube objects
bool m_verbose
run fit with a lot of B2INFOs for debugging
Class for accessing objects in the database.
virtual void event() override
process event
TVector3 m_BeamSpotCenter
Beam spot position.
Abstract base class for different kinds of events.
DBObjPtr< BeamSpot > m_beamSpotDB
Beam spot database object.
bool doVertexFit(Particle *p)
Main steering routine.
StoreArray< Particle > particles
the particles
Class to store reconstructed particles.
The DecayDescriptor stores information about a decay tree or parts of a decay tree.
BtubeCreatorModule()
Constructor: Sets the description, the properties and the parameters of the module.
std::string m_decayString
specifies which daughter particles will be used as reference to create Btube
void addextrainfos(Particle *daughter, Particle *copy, TMatrix mat, TLorentzVector TLV)
fills extrainfos to the particle
DecayDescriptor m_decaydescriptor
Decay descriptor of decays to look for.
std::string m_listName
name of particle list
TMatrixDSym m_beamSpotCov
Beam spot covariance matrix.
bool m_associateBtubeToBselected
whether to associate the Btube with the selected B