Belle II Software  release-08-01-10
mdst data objects
Collaboration diagram for mdst data objects:

Classes

class  Cluster
 Class to collect log likelihoods from Clusters from ECL and KLM aimed for output to mdst includes functions to return combined likelihood probability. More...
 
class  ECLCluster
 ECL cluster data. More...
 
class  EventLevelClusteringInfo
 ECL/KLM clustering event level information: More...
 
class  EventLevelTrackingInfo
 Tracking-related info on event-level, for example number of unassigned measurements. More...
 
class  EventLevelTriggerTimeInfo
 Storage element for information from the Trigger Timing Distribution (TTD) More...
 
class  HitPatternCDC
 Hit pattern of CDC hits within a track. More...
 
class  HitPatternVXD
 Hit pattern of the VXD within a track. More...
 
class  KlId
 Klong identifcation (KlId) datastore object to store results from KlId calculations. More...
 
class  KLMCluster
 KLM cluster data. More...
 
class  MCParticle
 A Class to store the Monte Carlo particle information. More...
 
class  MCParticleGraph
 Class to build, validate and sort a particle decay chain. More...
 
class  PIDLikelihood
 Class to collect log likelihoods from TOP, ARICH, dEdx, ECL and KLM aimed for output to mdst includes functions to return combined likelihood probability. More...
 
class  SoftwareTriggerResult
 Dataobject to store the results of the cut calculations performed by the SoftwareTriggerModule. More...
 
class  Track
 Class that bundles various TrackFitResults. More...
 
class  TrackFitResult
 Values of the result of a track fit with a given particle hypothesis. More...
 
class  TRGSummary
 Trigger Summary Information input bits input bits from subdetectors ftdl (Final Trigger Decision Logic) bits output bits of trigger logic psnm (Prescale and Mask) bits prescaled ftdl bits timType types of trigger timing source defined in b2tt firmware. More...
 
class  V0
 Object holding information for V0s. More...
 

Enumerations

enum class  SoftwareTriggerCutResult {
  c_reject = -1 ,
  c_accept = 1 ,
  c_noResult = 0
}
 Enumeration with all possible results of the SoftwareTriggerCut. More...
 

Functions

bool isVirtual () const
 Check if particle is virtual.
 
bool isInitial () const
 Check if particle is an initial particle such as ISR.
 
bool isPrimaryParticle () const
 Check if particle is a primary particle which was created by the generator (and not, for example material interaction)
 
MCParticlegetMother () const
 Returns a pointer to the mother particle. More...
 
void clear ()
 Reset particles and decay information to make the class reusable. More...
 
GraphParticleaddParticle ()
 Add new particle to the graph. More...
 
void addDecay (GraphParticle &mother, GraphParticle &daughter)
 Add decay information between two particles. More...
 

Detailed Description

Enumeration Type Documentation

◆ SoftwareTriggerCutResult

Enumeration with all possible results of the SoftwareTriggerCut.

Enumerator
c_reject 

Reject this event.

c_accept 

Accept this event.

c_noResult 

There were not enough information to decide on what to do with the event.

Definition at line 21 of file SoftwareTriggerResult.h.

21  {
22  c_reject = -1,
23  c_accept = 1,
24  c_noResult = 0
25  };
@ c_accept
Accept this event.
@ c_reject
Reject this event.
@ c_noResult
There were not enough information to decide on what to do with the event.

Function Documentation

◆ addDecay()

void addDecay ( MCParticleGraph::GraphParticle mother,
MCParticleGraph::GraphParticle daughter 
)
inline

Add decay information between two particles.

If the daughter has already a mother attached, an exception of type DaughterHasMotherError is thrown.

Parameters
motherThe mother particle which decays.
daughterThe daughter particle in which the mother particle decays.

Definition at line 302 of file MCParticleGraph.h.

303  {
304  if (this != mother.m_graph || this != daughter.m_graph) throw NotSameGraphError();
305  //if (daughter.getMother() != NULL) throw DaughterHasMotherError();
306  m_decays.insert(DecayLine(mother.m_vertexId, daughter.m_vertexId));
307  daughter.m_primary = false;
308  }
std::pair< unsigned int, unsigned int > DecayLine
Type representing a decay in the graph.
std::set< DecayLine > m_decays
internal set of decay lines

◆ addParticle()

MCParticleGraph::GraphParticle & addParticle ( )
inline

Add new particle to the graph.

Set the values of the returned reference to determine the particle parameters.

Returns
A reference to the added particle.

Definition at line 294 of file MCParticleGraph.h.

◆ clear()

void clear ( void  )
inline

Reset particles and decay information to make the class reusable.

New particles can be added again after a call to clear(), e.g. in the next event

Definition at line 287 of file MCParticleGraph.h.

◆ getMother()

MCParticle * getMother ( void  ) const
inline

Returns a pointer to the mother particle.

NULL if the particle doesn't have a mother.

Returns
A pointer to the mother particle. NULL if no mother was defined for the particle.

Definition at line 600 of file MCParticle.h.

601  {
602  if (m_mother == 0)
603  return nullptr;
604  fixParticleList();
605  return static_cast<MCParticle*>(m_plist->At(m_mother - 1));
606  }
int m_mother
1-based index of the mother particle
Definition: MCParticle.h:560
void fixParticleList() const
Search the DataStore for the corresponding MCParticle array.
Definition: MCParticle.cc:82
MCParticle()
Default constructor for ROOT.
Definition: MCParticle.h:72
TClonesArray * m_plist
Internal pointer to DataStore Array containing particles belonging to this collection.
Definition: MCParticle.h:532