![]() |
Belle II Software
release-06-01-15
|
Classes | |
class | AllParticleCombinerModule |
This module combines all particles of the provided list to one mother particle. More... | |
class | AnalysisConfigurationModule |
Class to hold general basf2 configuration Used to intiate and configure CreateAnalysis object. More... | |
class | BestCandidateSelectionModule |
Ranks particles by the values of a variable. More... | |
class | EnergyBiasCorrectionModule |
Energy bias correction. More... | |
class | BelleBremRecoveryModule |
Brem recovery module (used in past belle analyses) This module add four vector of all the brem photon to the four vector associated to the charged particle. More... | |
class | BremsFinderModule |
Bremsstrahlung finder correction module For each lepton in the input particle list, this module copies it to the output particle list and uses the results of the eclTrackBremFinder module to look for a possible bremsstrahlung photon; if this photon exists, adds its four momentum to the leptons in the output list. More... | |
class | BtubeCreatorModule |
Create a B particle from a Bbar particle. More... | |
class | ChargedPidMVAModule |
This module evaluates the response of an MVA trained for binary charged particle identification between two hypotheses, S and B. More... | |
class | ChargedPidMVAMulticlassModule |
This module evaluates the response of a multi-class MVA trained for global charged particle identification. More... | |
class | ContinuumSuppressionBuilderModule |
Creates for each Particle in given ParticleList an ContinuumSuppression dataobject and makes basf2 relation between them. More... | |
class | CurlTaggerModule |
This module is designed to tag curl tracks. More... | |
class | DistanceCalculatorModule |
Calculates distance between two vertices, distance of closest approach between a vertex and a track, distance of closest approach between a vertex and Btube. More... | |
class | DuplicateVertexMarkerModule |
Identify duplicate vertices (distinct particles, but built from the same daughters) and mark the one with best chi2. More... | |
class | EventKinematicsModule |
Module to compute global quantities related to the event kinematics, like total missing energy and mass2, visible energy, etc. More... | |
class | EventShapeCalculatorModule |
Module to compute event shape variables starting from three lists of particle objects (tracks, gammas, Klongs). More... | |
class | ExtraInfoPrinterModule |
Prints the names of the ExtraInfos for a ParticleList or for the Event. More... | |
class | ExtraInfoRemoverModule |
This module deletes the extrainfo of each particle in the given ParticleLists. More... | |
class | FixECLClustersModule |
Sets ConnectedRegionID and ClusterID to ECLClusters on MC samples with old ECLCluster design. More... | |
class | FlavorTaggerInfoBuilderModule |
Creates for each Particle and RestOfEvent object in the DataStore a FlavorTaggerInfo dataobject and makes basf2 relation between them. More... | |
class | FlavorTaggerInfoFillerModule |
Creates a new flavorTaggerInfoMap DataObject for the specific methods. More... | |
class | HelixErrorScalerModule |
scale the error of helix parameters More... | |
class | InclusiveBtagReconstructionModule |
Inclusively reconstructs anti-B:tag from input ParticleLists for given B:sig . More... | |
class | Map2Vector |
Helper class to make a vector of all possible combinations of int numbers contained in the input vectors (passed as values in a map). More... | |
class | InclusiveDstarReconstructionModule |
Inclusive D* reconstruction module. More... | |
class | KlongDecayReconstructorExpertModule |
reco missing module More... | |
class | KlongMomentumCalculatorExpertModule |
reco missing module More... | |
class | DecayTree< T > |
This is a helper class for the MCDecayFinderModule. More... | |
class | MCDecayFinderModule |
Find decays in MCParticle list matching a given DecayString. More... | |
class | MCMatcherParticlesModule |
MC matching module: module performs MC matching (sets the relation Particle -> MCParticle) for all particles and its (grand)^N-daughter particles in the user-specified ParticleList. More... | |
class | OnlyWriteOutParticleListsModule |
Marks all objects in DataStore except those of type ParticleList as WrtieOut=False. More... | |
class | ParticleCombinerModule |
particle combiner module More... | |
class | ParticleCombinerFromMCModule |
particle combiner module More... | |
class | ParticleCopierModule |
Module for creating copies of Particles. More... | |
class | ParticleListManipulatorModule |
Module for copying Particles (actually their indices) from two or more ParticleLists(s) to another ParticleList. More... | |
class | ParticleLoaderModule |
Loads MDST dataobjects as Particle objects to the StoreArray<Particle> and collects them in specified ParticleList. More... | |
class | ParticleMassUpdaterModule |
This module replaces the mass of the particles inside the given particleLists with the invariant mass of the particle corresponding to the given pdgCode. More... | |
class | ParticleMCDecayStringModule |
Adds the Monte Carlo decay string to a Particle. More... | |
class | ParticlePrinterModule |
prints particle list to screen More... | |
class | ParticleSelectorModule |
Loops over all Particles in the ParticleList and removes those Particles from the ParticleList that do not pass given selection criteria. More... | |
class | ParticleStatsModule |
This module summarises the ParticleLists in the event. More... | |
class | ParticleVertexFitterModule |
Vertex fitter module. More... | |
class | ParticleWeightingModule |
Module to apply weights from the database to particles and store added info in ExtraInfo. More... | |
class | ParticleWeightingLookUpCreatorModule |
Module that creates LookUpTable and upload it to the DB. More... | |
class | PhotonEfficiencySystematicsModule |
Adds Photon Detection Efficiency Data/MC ratios To Particle List. More... | |
class | PrintMCParticlesModule |
The PrintMCParticles module. More... | |
class | PseudoVertexFitterModule |
Pseudo Vertex fitter module. More... | |
class | RemoveParticlesNotInListsModule |
Removes all Particles that are not in a given list of ParticleLists (or daughters of those). More... | |
class | RestOfEventBuilderModule |
Creates for each Particle in given ParticleList an RestOfEvent (ROE) dataobject and makes basf2 relation between them. More... | |
class | RestOfEventInterpreterModule |
Creates a mask (vector of boolean values) for tracks and clusters in RestOfEvent regarding their usage. More... | |
class | RestOfEventPrinterModule |
prints ROE information and masks to screen More... | |
class | RestOfEventUpdaterModule |
Updates an existing mask (map of boolean values) for tracks or eclClusters in RestOfEvent with an available property (e.g. More... | |
class | SelectDaughtersModule |
Redefine (select) the daughters of a particle. More... | |
class | SignalSideParticleFilterModule |
The module returns true if the current RestOfEvent object is related to any of the Particles in the input ParticleLists. More... | |
class | SignalSideParticleListCreatorModule |
The module creates a ParticleList and fills it with one of the daughter Particles. More... | |
class | SignalSideVariablesToDaughterExtraInfoModule |
The module writes properties (values of specified variables) of the particle related to the current ROE as an ExtraInfo to the single particle in the input ParticleList. More... | |
class | SignalSideVariablesToExtraInfoModule |
The module writes property of single particle found in the input ParticleList as an ExtraInfo to the Particle related to the current ROE. More... | |
class | SkimFilterModule |
This module filters events based on presence of candidates in a list of ParticleLists. More... | |
class | TagUniqueSignalModule |
Loops through the particle list finds a unique signal candidate for each event. More... | |
class | TagVertexModule |
Tag side Vertex Fitter module for modular analysis. More... | |
struct | ParticleAndWeight |
this struct is used to store and sort the tag tracks More... | |
class | TauDecayMarkerModule |
Module to identify generated tau pair decays, using MCParticle information. More... | |
class | TauDecayModeModule |
Module to classify tau decay events according to a mapping given by the user or with a default mapping based on the TauolaBelle2 decay list. More... | |
class | TrackingEfficiencyModule |
This set of module is designed for tracking systematics studies. More... | |
class | TrackingMomentumModule |
Tracking momentum systematics. More... | |
class | DetSurfCylBoundaries |
Simple class to encapsulate a detector inner surface's boundaries in cylindrical coordinates. More... | |
class | TrackIsoCalculatorModule |
Calculate track isolation variables on the input ParticleList. More... | |
class | TreeFitterModule |
Module to fit an entire decay tree. More... | |
class | V0DaughterMassUpdaterModule |
This module replaces the mass of two daughters of the selected V0 particles inside the given particleLists with masses of given pdgCode. More... | |
class | VariablesToEventBasedTreeModule |
Module to calculate variables specified by the user for a given ParticleList and save them into a TTree. More... | |
class | VariablesToEventExtraInfoModule |
For each particle in the input list the selected variables are saved in an event-extra-info field with the given name, Can be used to save MC truth information, for example, in a ntuple of reconstructed particles. More... | |
class | VariablesToExtraInfoModule |
For each particle in the input list the selected variables are saved in an extra-info field with the given name, Can be used when wanting to save variables before modifying them, e.g. More... | |
class | VariablesToHistogramModule |
Module to calculate variables specified by the user for a given ParticleList and save them into an Histogram. More... | |
class | VariablesToNtupleModule |
Module to calculate variables specified by the user for a given ParticleList and save them into a ROOT TTree. More... | |
class | VariableToReturnValueModule |
Module to calculate variable specified by the user and set return value accordingly. More... | |
Typedefs | |
typedef std::tuple< double, double > | BinLimitsTuple |
Currently, std::pair can not be retrieved from python list We will get ParticleWeightingLookUpTable entries with tuples and transform tuples to pairs here. More... | |
typedef std::map< std::string, BinLimitsTuple > | NDBinTuple |
the NDimensional tuple of bin limits | |
typedef std::tuple< WeightInfo, NDBinTuple > | noIdEntry |
the ID | |
typedef std::tuple< noIdEntry, double > | specificIDEntry |
the specific ID | |
typedef std::vector< noIdEntry > | listOfNoIdEntries |
List of entries for table to be created from without specified ID. | |
typedef std::vector< specificIDEntry > | listOfSpecificIDEntries |
List of entries for table to be created from with specified ID. | |
Functions | |
bool | isFSP (int pdg) |
defines what is a final state particle for this purpose. | |
static const TVector3 | vecNaN (realNaN, realNaN, realNaN) |
vector with NaN entries | |
static const TMatrixDSym | matNaN (3,(double[]) { realNaN, realNaN, realNaN, realNaN, realNaN, realNaN, realNaN, realNaN, realNaN }) |
3x3 matrix with NaN entries | |
static TLorentzVector | flipVector (TLorentzVector vIn) |
Get vector which is opposite to vIn in CMS ref frame Be aware that input vIn and output are in the Lab frame. | |
static double | getProperLifeTime (const MCParticle *mc) |
proper life time, i.e. More... | |
BelleBremRecoveryModule () | |
Constructor. | |
virtual void | initialize () override |
Initialize the Module. More... | |
virtual void | event () override |
Event processor. | |
BremsFinderModule () | |
Constructor, for setting module description and parameters. | |
virtual void | initialize () override |
Use this to initialize resources or memory your module needs. More... | |
virtual void | event () override |
Called once for each event. More... | |
KlongDecayReconstructorExpertModule () | |
Constructor. | |
virtual void | initialize () override |
Initialize the Module. More... | |
virtual void | event () override |
Event processor. | |
KlongMomentumCalculatorExpertModule () | |
Constructor. | |
virtual void | initialize () override |
Initialize the Module. More... | |
virtual void | event () override |
Event processor. | |
DecayTree () | |
Default constructor. | |
DecayTree (T *obj) | |
Constructor with decaying object (e.g. More... | |
~DecayTree () | |
Destructor. | |
std::vector< DecayTree< T > * > | getDaughters () |
Return list of decay daughters. | |
T * | getObj () |
Return the decaying object itself, e.g. More... | |
void | setObj (T *obj) |
Set the decaying object, e.g. More... | |
void | clear () |
Frees memory occupied by m_myObject and the daughter objects. | |
void | append (DecayTree< T > *t) |
Add a daughter, which is a DecayTree itself. | |
MCMatcherParticlesModule () | |
Constructor. | |
virtual void | initialize () override |
Initialize the Module. More... | |
virtual void | event () override |
Event processor. | |
void | setLooseMCMatch (const Particle *particle) |
Finds common mother of the majority of daughters. More... | |
ParticleCombinerModule () | |
Constructor. | |
virtual void | initialize () override |
Initialize the Module. More... | |
virtual void | event () override |
Event processor. | |
ParticleCombinerFromMCModule () | |
Constructor. | |
virtual void | initialize () override |
Initialize the Module. More... | |
virtual void | event () override |
Event processor. | |
void | registerParticleRecursively (const DecayDescriptor &decaydescriptor) |
Register particles which have (sub-)decay recursively. More... | |
void | combineRecursively (const DecayDescriptor &decaydescriptor) |
Combine particles which have (sub-)decay recursively. More... | |
ParticleCopierModule () | |
Constructor. | |
virtual void | initialize () override |
Initialize the Module. More... | |
virtual void | event () override |
Event processor. | |
ParticleListManipulatorModule () | |
Constructor. | |
virtual void | initialize () override |
Initialize the Module. More... | |
virtual void | event () override |
Event processor. | |
void | fillUniqueIdentifier (const Particle *p, std::vector< int > &idSequence) |
Fills unique identifier for the input particle. More... | |
bool | isUnique (const std::vector< int > &idSequence) |
Compares input idSequence to all sequences already included in the list. More... | |
ParticleLoaderModule () | |
Constructor. | |
virtual void | initialize () override |
Initialize the Module. More... | |
virtual void | event () override |
Event processor. | |
virtual void | terminate () override |
Terminate the Module. More... | |
void | roeToParticles () |
Loads ROE object as Particle of specified type to StoreArray<Particle> and adds it to the ParticleList. | |
void | addROEToParticleList (RestOfEvent *roe, int mdstIndex, int pdgCode=0, bool isSelfConjugatedParticle=true) |
Helper method to load ROE object as Particle. | |
void | v0sToParticles () |
Loads V0 object as Particle of specified type to StoreArray<Particle> and adds it to the ParticleList. | |
void | tracksToParticles () |
Loads Track object as Particle to StoreArray<Particle> and adds it to the ParticleList. | |
void | eclAndKLMClustersToParticles () |
Loads ECLCluster and KLMCluster object as Particle to StoreArray<Particle> and adds it to the ParticleList. | |
void | mcParticlesToParticles () |
Loads specified MCParticles as Particle to StoreArray<Particle> | |
bool | isValidPDGCode (const int pdgCode) |
returns true if the PDG code determined from the decayString is valid | |
void | appendDaughtersRecursive (Particle *mother) |
recursively append bottom of a particle's decay chain (daughters of mother, granddaughters of daughter and so on). | |
ParticleMCDecayStringModule () | |
Constructor. | |
virtual void | initialize () override |
Initialize the module. | |
virtual void | event () override |
Called for each event. | |
virtual void | terminate () override |
Terminate modules. | |
const MCParticle * | getInitialParticle (const MCParticle *mcP) |
search from mcP upwards for a particle that matches specified mother PDG codes. | |
std::string | getDecayString (const Particle &p) |
get the decay string for p. | |
std::string | getDecayStringFromParticle (const Particle *p) |
get decay string of particle | |
std::string | getMCDecayStringFromParticle (const Particle *p) |
get mc decay string from particle | |
std::string | getMCDecayStringFromMCParticle (const MCParticle *mcPMatched) |
get mc decay string from mc particle | |
std::string | buildMCDecayString (const MCParticle *mcPMother, const MCParticle *mcPMatched) |
return decay string for mcPMother, highlight mcPMatched. | |
void | convertToConciseString (std::string &string) |
Convert the extended string to a more concise format. | |
ParticlePrinterModule () | |
Constructor. | |
virtual void | initialize () override |
Initialize the Module. More... | |
virtual void | event () override |
Event processor. | |
void | printVariables (const Particle *particle) const |
Prints out the values of variables specified by the user via the Variables module parameter. | |
ParticleSelectorModule () | |
Constructor. | |
virtual void | initialize () override |
Initialize the Module. More... | |
virtual void | event () override |
Event processor. | |
ParticleVertexFitterModule () | |
Constructor. | |
virtual void | initialize () override |
Initialize the Module. More... | |
virtual void | beginRun () override |
Called when entering a new run. More... | |
virtual void | event () override |
Event processor. | |
bool | doVertexFit (Particle *p) |
Main steering routine. More... | |
bool | fillFitParticles (const Particle *mother, std::vector< const Particle * > &fitChildren, std::vector< const Particle * > &twoPhotonChildren) |
Fills valid particle's children (with valid error matrix) in the vector of Particles that will enter the fit. More... | |
bool | redoTwoPhotonDaughterMassFit (Particle *postFit, const Particle *preFit, const analysis::VertexFitKFit &kv) |
Combines preFit particle and vertex information from vertex fit kv to create new postFit particle. More... | |
bool | doKVertexFit (Particle *p, bool ipProfileConstraint, bool ipTubeConstraint) |
Unconstrained vertex fit using KFit. More... | |
bool | doKMassVertexFit (Particle *p) |
Mass-constrained vertex fit using KFit. More... | |
bool | doKMassPointingVertexFit (Particle *p) |
Mass-constrained vertex fit with additional pointing constraint using KFit. More... | |
bool | doKMassFit (Particle *p) |
Mass fit using KFit. More... | |
bool | doKFourCFit (Particle *p) |
FourC fit using KFit. More... | |
bool | doKMassFourCFit (Particle *p) |
MassFourC fit using KFit. More... | |
bool | makeKVertexMother (analysis::VertexFitKFit &kv, Particle *p) |
Update mother particle after unconstrained vertex fit using KFit. More... | |
bool | makeKMassVertexMother (analysis::MassVertexFitKFit &kv, Particle *p) |
Update mother particle after mass-constrained vertex fit using KFit. More... | |
bool | makeKMassPointingVertexMother (analysis::MassPointingVertexFitKFit &kv, Particle *p) |
Update mother particle after mass-constrained vertex fit with additional pointing constraint using KFit. More... | |
bool | makeKMassMother (analysis::MassFitKFit &kv, Particle *p) |
Update mother particle after mass fit using KFit. More... | |
bool | makeKFourCMother (analysis::FourCFitKFit &kv, Particle *p) |
Update mother particle after FourC fit using KFit. More... | |
bool | makeMassKFourCMother (analysis::MassFourCFitKFit &kv, Particle *p) |
Update mother particle after MassFourC fit using KFit. More... | |
void | updateMapOfTrackAndDaughter (unsigned &l, std::vector< std::vector< unsigned >> &pars, std::vector< unsigned > &pard, std::vector< Particle * > &allparticles, const Particle *daughter) |
update the map of daughter and tracks, find out which tracks belong to each daughter. More... | |
bool | doRaveFit (Particle *mother) |
Fit using Rave. More... | |
bool | allSelectedDaughters (const Particle *mother, const std::vector< const Particle * > &tracksVertex) |
check if all the Daughters (o grand-daughters) are selected for the vertex fit | |
bool | addChildofParticletoKFit (analysis::FourCFitKFit &kv, const Particle *particle) |
Adds given particle's child to the FourCFitKFit. More... | |
bool | addChildofParticletoMassKFit (analysis::MassFourCFitKFit &kf, const Particle *particle, std::vector< unsigned > &particleId) |
Adds given particle's child to the MassFourCFitKFit. More... | |
void | addIPProfileToKFit (analysis::VertexFitKFit &kv) |
Adds IPProfile constraint to the vertex fit using KFit. | |
void | addIPTubeToKFit (analysis::VertexFitKFit &kv) |
Adds IPTube constraint to the vertex fit using KFit. | |
void | findConstraintBoost (double cut) |
calculate iptube constraint (quasi cylinder along boost direction) for RAVE fit | |
void | smearBeamSpot (double width) |
smear beam spot covariance | |
ParticleWeightingModule () | |
Constructor. | |
WeightInfo | getInfo (const Particle *p) |
Get LookUp information for the particle. More... | |
virtual void | initialize () override |
Initialize the Module. More... | |
virtual void | event () override |
Event processing by the module. More... | |
ParticleWeightingLookUpCreatorModule () | |
Constructor. | |
NDBin | NDBinTupleToNDBin (const NDBinTuple &bin_tuple) |
Currently, std::pair can not be retrieved from python list We will get ParticleWeightingLookUpTable entries with tuples and transform tuples to pairs here. More... | |
virtual void | initialize () override |
Initialize the Module. More... | |
virtual void | terminate () override |
Clean up anything created in initialize(). | |
PseudoVertexFitterModule () | |
Constructor. | |
virtual void | initialize () override |
Initialize the Module. More... | |
virtual void | event () override |
Event processor. | |
bool | add_matrix (Particle *p) |
Main steering routine. More... | |
RestOfEventInterpreterModule () | |
Constructor: Sets the description, the properties and the parameters of the module. | |
virtual void | initialize () override |
Overridden initialize method. | |
virtual void | event () override |
Overridden event method. | |
RestOfEventPrinterModule () | |
Constructor. | |
virtual void | initialize () override |
Initialize the Module. More... | |
virtual void | event () override |
Event processor. | |
void | printMaskParticles (const std::vector< const Particle * > &maskParticles) const |
Prints out values of the specific ROE mask. | |
RestOfEventUpdaterModule () | |
Constructor: Sets the description, the properties and the parameters of the module. | |
virtual void | initialize () override |
Overridden initialize method. | |
virtual void | event () override |
Overridden event method. | |
void | updateMasksWithV0 (const StoreObjPtr< RestOfEvent > &roe, std::vector< const Particle * > &particlesToUpdate) |
Update ROE masks with provided composite particle collection. More... | |
void | updateMasksWithParticles (const StoreObjPtr< RestOfEvent > &roe, std::vector< const Particle * > &particlesToUpdate, Particle::EParticleSourceObject listType) |
Update ROE masks by excluding or keeping particles. More... | |
TagVertexModule () | |
Constructor. | |
virtual void | initialize () override |
Initialize the Module. More... | |
virtual void | beginRun () override |
Called when entering a new run. More... | |
virtual void | event () override |
Event processor. | |
bool | doVertexFit (const Particle *Breco) |
central method for the tag side vertex fit | |
std::pair< TVector3, TMatrixDSym > | findConstraint (const Particle *Breco, double cut) const |
calculate the constraint for the vertex fit on the tag side using Breco information | |
std::pair< TVector3, TMatrixDSym > | findConstraintBTube (const Particle *Breco, double cut) |
calculate constraint for the vertex fit on the tag side using the B tube (cylinder along the expected BTag line of flights | |
std::pair< TVector3, TMatrixDSym > | findConstraintBoost (double cut, double shiftAlongBoost=-2000.) const |
calculate the standard constraint for the vertex fit on the tag side | |
void | BtagMCVertex (const Particle *Breco) |
get the vertex of the MC B particle associated to Btag. More... | |
static bool | compBrecoBgen (const Particle *Breco, const MCParticle *Bgen) |
compare Breco with the two MC B particles | |
std::vector< const Particle * > | getTagTracks_standardAlgorithm (const Particle *Breco, int nPXDHits) const |
performs the fit using the standard algorithm - using all tracks in RoE The user can specify a request on the PXD hits left by the tracks | |
std::vector< ParticleAndWeight > | getParticlesWithoutKS (const std::vector< const Particle * > &tagParticles, double massWindowWidth=0.01) const |
Get a list of pions from a list of pions removing the Kshorts Warning: this assumes all the particles are pions, which is fine are all the particles are reconstructed as pions in the TagV module. | |
bool | makeGeneralFit () |
TO DO: tag side vertex fit in the case of semileptonic tag side decay. More... | |
void | fillParticles (std::vector< ParticleAndWeight > &particleAndWeights) |
Fill sorted list of particles into external variable. | |
void | fillTagVinfo (const TVector3 &tagVpos, const TMatrixDSym &tagVposErr) |
Fill tagV vertex info. | |
bool | makeGeneralFitRave () |
make the vertex fit on the tag side: RAVE AVF tracks coming from Ks removed all other tracks used | |
bool | makeGeneralFitKFit () |
make the vertex fit on the tag side: KFit tracks coming from Ks removed all other tracks used | |
void | deltaT (const Particle *Breco) |
calculate DeltaT and MC-DeltaT (rec - tag) in ps from Breco and Btag vertices DT = Dl / gamma beta c , l = boost direction | |
Particle * | doVertexFitForBTube (const Particle *mother, std::string fitType) const |
it returns an intersection between B rec and beam spot (= origin of BTube) | |
TrackFitResult | getTrackWithTrueCoordinates (ParticleAndWeight const &paw) const |
If the fit has to be done with the truth info, Rave is fed with a track where the momentum is replaced by the true momentum and the position replaced by the point on the true particle trajectory closest to the measured track position The function below takes care of that. | |
static TVector3 | getTruePoca (ParticleAndWeight const &paw) |
This finds the point on the true particle trajectory closest to the measured track position. | |
TrackFitResult | getTrackWithRollBackCoordinates (ParticleAndWeight const &paw) |
If the fit has to be done with the rolled back tracks, Rave or KFit is fed with a track where the position of track is shifted by the vector difference of mother B and production point of track from truth info The function below takes care of that. | |
TVector3 | getRollBackPoca (ParticleAndWeight const &paw) |
This shifts the position of tracks by the vector difference of mother B and production point of track from truth info. | |
void | resetReturnParams () |
Reset all parameters that are computed in each event and then used to compute tuple variables. | |
static std::string | printVector (const TVector3 &vec) |
Print a TVector3 (useful for debugging) | |
static std::string | printMatrix (const TMatrixD &mat) |
Print a TMatrix (useful for debugging) | |
static std::string | printMatrix (const TMatrixDSym &mat) |
Print a TMatrixFSym (useful for debugging) | |
Variables | |
static const double | realNaN = std::numeric_limits<double>::quiet_NaN() |
shortcut for NaN of double type | |
typedef std::tuple<double, double> BinLimitsTuple |
Currently, std::pair can not be retrieved from python list We will get ParticleWeightingLookUpTable entries with tuples and transform tuples to pairs here.
the tuple of bin limits
Definition at line 27 of file ParticleWeightingLookUpCreatorModule.h.
|
private |
Main steering routine.
p | pointer to particle |
Definition at line 72 of file PseudoVertexFitterModule.cc.
|
private |
Adds given particle's child to the FourCFitKFit.
kv | reference to KFit FourCFit object |
particle | pointer to particle |
Definition at line 1147 of file ParticleVertexFitterModule.cc.
|
private |
Adds given particle's child to the MassFourCFitKFit.
kf | reference to KFit FourCFit object |
particle | pointer to particle |
particleId | vector of daughters track id |
Definition at line 1161 of file ParticleVertexFitterModule.cc.
|
overridevirtual |
Called when entering a new run.
Set run dependent things like run header parameters, alignment, etc.
Reimplemented from Module.
Definition at line 113 of file ParticleVertexFitterModule.cc.
|
overridevirtual |
Called when entering a new run.
Set run dependent things
Reimplemented from Module.
Definition at line 146 of file TagVertexModule.cc.
|
private |
get the vertex of the MC B particle associated to Btag.
It works only with signal MC
Definition at line 531 of file TagVertexModule.cc.
void combineRecursively | ( | const DecayDescriptor & | decaydescriptor | ) |
Combine particles which have (sub-)decay recursively.
The function is called in event().
Definition at line 159 of file ParticleCombinerFromMCModule.cc.
|
explicit |
Constructor with decaying object (e.g.
MCParticle) provided.
Definition at line 49 of file DecayTree.h.
|
private |
FourC fit using KFit.
p | pointer to particle |
Definition at line 627 of file ParticleVertexFitterModule.cc.
|
private |
Mass fit using KFit.
p | pointer to particle |
Definition at line 600 of file ParticleVertexFitterModule.cc.
|
private |
MassFourC fit using KFit.
p | pointer to particle |
Definition at line 660 of file ParticleVertexFitterModule.cc.
|
private |
Mass-constrained vertex fit with additional pointing constraint using KFit.
p | pointer to particle |
Definition at line 555 of file ParticleVertexFitterModule.cc.
|
private |
Mass-constrained vertex fit using KFit.
p | pointer to particle |
Definition at line 475 of file ParticleVertexFitterModule.cc.
|
private |
Unconstrained vertex fit using KFit.
p | pointer to particle |
ipProfileConstraint | flag for IP profile constraint |
ipTubeConstraint | flag for IP tube constraint |
Definition at line 398 of file ParticleVertexFitterModule.cc.
|
private |
Fit using Rave.
mother | pointer to particle |
Definition at line 968 of file ParticleVertexFitterModule.cc.
|
private |
Main steering routine.
p | pointer to particle |
Definition at line 194 of file ParticleVertexFitterModule.cc.
|
overridevirtual |
Called once for each event.
This is most likely where your module will actually do anything.
Reimplemented from Module.
Definition at line 163 of file BremsFinderModule.cc.
|
overridevirtual |
Event processing by the module.
This method is called once for each event.
Reimplemented from Module.
Definition at line 74 of file ParticleWeightingModule.cc.
|
private |
Fills valid particle's children (with valid error matrix) in the vector of Particles that will enter the fit.
Particles formed from two photons (e.g. pi0) are treated separately so they are filled to another vector.
Definition at line 296 of file ParticleVertexFitterModule.cc.
|
private |
Fills unique identifier for the input particle.
The unique identifier is a sequence of pairs (PDG code of the particle, number of daughters if composite or mdstArrayIndex if final state particle) for all particles in the decay chain.
Example: B+ -> (anti-D0 -> K+ pi-) pi+ idSequence: (521, 2, -421, 2, 321, K+ mdstArrayIndex, -211, pi- mdstArrayIndex, 211, pi+ mdstArrayIndex)
Definition at line 210 of file ParticleListManipulatorModule.cc.
WeightInfo getInfo | ( | const Particle * | p | ) |
Get LookUp information for the particle.
p | particle |
Definition at line 49 of file ParticleWeightingModule.cc.
T * getObj |
|
static |
proper life time, i.e.
in the rest system (in ps)
Definition at line 525 of file TagVertexModule.cc.
|
overridevirtual |
Initialize the Module.
This method is called at the beginning of data processing.
Reimplemented from Module.
Definition at line 72 of file BelleBremRecoveryModule.cc.
|
overridevirtual |
Use this to initialize resources or memory your module needs.
Also register any outputs of your module (StoreArrays, RelationArrays, StoreObjPtrs) here, see the respective class documentation for details.
Reimplemented from Module.
Definition at line 119 of file BremsFinderModule.cc.
|
overridevirtual |
Initialize the Module.
This method is called at the beginning of data processing.
Reimplemented from Module.
Definition at line 65 of file KlongDecayReconstructorExpertModule.cc.
|
overridevirtual |
Initialize the Module.
This method is called at the beginning of data processing.
Reimplemented from Module.
Definition at line 68 of file KlongMomentumCalculatorExpertModule.cc.
|
overridevirtual |
Initialize the Module.
This method is called at the beginning of data processing.
Reimplemented from Module.
Definition at line 68 of file MCMatcherParticlesModule.cc.
|
overridevirtual |
Initialize the Module.
This method is called at the beginning of data processing.
Reimplemented from Module.
Definition at line 87 of file ParticleCombinerModule.cc.
|
overridevirtual |
Initialize the Module.
This method is called at the beginning of data processing.
Reimplemented from Module.
Definition at line 67 of file ParticleCombinerFromMCModule.cc.
|
overridevirtual |
Initialize the Module.
This method is called at the beginning of data processing.
Reimplemented from Module.
Definition at line 58 of file ParticleCopierModule.cc.
|
overridevirtual |
Initialize the Module.
This method is called at the beginning of data processing.
Reimplemented from Module.
Definition at line 70 of file ParticleListManipulatorModule.cc.
|
overridevirtual |
Initialize the Module.
This method is called at the beginning of data processing.
Reimplemented from Module.
Definition at line 86 of file ParticleLoaderModule.cc.
|
overridevirtual |
Initialize the Module.
This method is called at the beginning of data processing.
Reimplemented from Module.
Definition at line 51 of file ParticlePrinterModule.cc.
|
overridevirtual |
Initialize the Module.
This method is called at the beginning of data processing.
Reimplemented from Module.
Definition at line 50 of file ParticleSelectorModule.cc.
|
overridevirtual |
Initialize the Module.
This method is called at the beginning of data processing.
Reimplemented from Module.
Definition at line 80 of file ParticleVertexFitterModule.cc.
|
overridevirtual |
Initialize the Module.
This method is called at the beginning of data processing.
Reimplemented from Module.
Definition at line 66 of file ParticleWeightingModule.cc.
|
overridevirtual |
Initialize the Module.
This method is called at the beginning of data processing.
Reimplemented from Module.
Definition at line 68 of file ParticleWeightingLookUpCreatorModule.cc.
|
overridevirtual |
Initialize the Module.
This method is called at the beginning of data processing.
Reimplemented from Module.
Definition at line 43 of file PseudoVertexFitterModule.cc.
|
overridevirtual |
Initialize the Module.
This method is called at the beginning of data processing.
Reimplemented from Module.
Definition at line 57 of file RestOfEventPrinterModule.cc.
|
overridevirtual |
Initialize the Module.
This method is called at the beginning of data processing.
Reimplemented from Module.
Definition at line 118 of file TagVertexModule.cc.
|
private |
Compares input idSequence to all sequences already included in the list.
If sequence is not found in the list a sequence is found to be unique.
Definition at line 229 of file ParticleListManipulatorModule.cc.
|
private |
TO DO: tag side vertex fit in the case of semileptonic tag side decay.
make the vertex fit on the tag side with chosen fit algorithm
Definition at line 670 of file TagVertexModule.cc.
|
private |
Update mother particle after FourC fit using KFit.
kv | reference to KFit MassFit object |
p | pointer to particle |
Definition at line 821 of file ParticleVertexFitterModule.cc.
|
private |
Update mother particle after mass fit using KFit.
kv | reference to KFit MassFit object |
p | pointer to particle |
Definition at line 789 of file ParticleVertexFitterModule.cc.
|
private |
Update mother particle after mass-constrained vertex fit with additional pointing constraint using KFit.
kv | reference to KFit MassPointingVertexFit object |
p | pointer to particle |
Definition at line 756 of file ParticleVertexFitterModule.cc.
|
private |
Update mother particle after mass-constrained vertex fit using KFit.
kv | reference to KFit MassVertexFit object |
p | pointer to particle |
Definition at line 726 of file ParticleVertexFitterModule.cc.
|
private |
Update mother particle after unconstrained vertex fit using KFit.
kv | reference to KFit VertexFit object |
p | pointer to particle |
Definition at line 696 of file ParticleVertexFitterModule.cc.
|
private |
Update mother particle after MassFourC fit using KFit.
kv | reference to KFit MassFit object |
p | pointer to particle |
Definition at line 882 of file ParticleVertexFitterModule.cc.
|
private |
Currently, std::pair can not be retrieved from python list We will get ParticleWeightingLookUpTable entries with tuples and transform tuples to pairs here.
Some massaging of python input is needed.
Definition at line 55 of file ParticleWeightingLookUpCreatorModule.cc.
|
private |
Combines preFit particle and vertex information from vertex fit kv to create new postFit particle.
A mass refit of this new particle is performed assuming that it originates from the point given by VertexFit.
Definition at line 345 of file ParticleVertexFitterModule.cc.
void registerParticleRecursively | ( | const DecayDescriptor & | decaydescriptor | ) |
Register particles which have (sub-)decay recursively.
The function is called in initialize().
Definition at line 118 of file ParticleCombinerFromMCModule.cc.
|
private |
Finds common mother of the majority of daughters.
The results are stored to extraInfo.
Definition at line 114 of file MCMatcherParticlesModule.cc.
void setObj | ( | T * | obj | ) |
|
overridevirtual |
Terminate the Module.
This method is called at the end of data processing.
Reimplemented from Module.
Definition at line 243 of file ParticleLoaderModule.cc.
|
private |
update the map of daughter and tracks, find out which tracks belong to each daughter.
l | represent the tracks ID |
pars | map of all parameters |
pard | vector of parameters |
allparticles | vector of all particles |
daughter | pointer to particle |
Definition at line 945 of file ParticleVertexFitterModule.cc.
|
private |
Update ROE masks by excluding or keeping particles.
roe | Pointer to RestOfEvent object for update |
particlesToUpdate | Reference to particle collection |
listType | ParticleType of the collection |
Definition at line 131 of file RestOfEventUpdaterModule.cc.
|
private |
Update ROE masks with provided composite particle collection.
roe | Pointer to RestOfEvent object for update |
particlesToUpdate | Reference to composite particle collection |
Definition at line 111 of file RestOfEventUpdaterModule.cc.