FairRoot/PandaRoot
Public Member Functions | Private Types | Private Attributes | List of all members
genfit::PruneFlags Struct Reference

Info which information has been pruned from the Track. More...

#include <FitStatus.h>

Public Member Functions

 PruneFlags ()
 
void reset ()
 
void setFlags (Option_t *option="")
 does not reset! If a flag is already true and is not in opt, it will stay true. More...
 
bool hasFlags (Option_t *option="CFLWRMIU") const
 check if all the given flags are set More...
 
bool isPruned () const
 check if any of the flags is set More...
 
void Print (const Option_t *="") const
 

Private Types

enum  fields {
  C = 1 << 0, F = 1 << 1, L = 1 << 2, W = 1 << 3,
  R = 1 << 4, M = 1 << 5, I = 1 << 6, U = 1 << 7
}
 

Private Attributes

int value
 

Detailed Description

Info which information has been pruned from the Track.

Possible options: C: prune all reps except cardinalRep F: prune all points except first point (also prune referenceInfo from fitterInfos) L: prune all points except last point (also prune referenceInfo from fitterInfos) FL: prune all points except first and last point (also prune referenceInfo from fitterInfos) W: prune rawMeasurements from TrackPoints R: prune referenceInfo from fitterInfos M: prune measurementInfo from fitterInfos I: if F, L, or FL is set, prune forward (backward) info of first (last) point U: if fitterInfo is a KalmanFitterInfo, prune predictions and keep updates

Definition at line 47 of file FitStatus.h.

Member Enumeration Documentation

Enumerator
C 
F 
L 
W 
R 
M 
I 
U 

Definition at line 60 of file FitStatus.h.

60  { C = 1 << 0,
61  F = 1 << 1,
62  L = 1 << 2,
63  W = 1 << 3,
64  R = 1 << 4,
65  M = 1 << 5,
66  I = 1 << 6,
67  U = 1 << 7 };

Constructor & Destructor Documentation

genfit::PruneFlags::PruneFlags ( )

Member Function Documentation

bool genfit::PruneFlags::hasFlags ( Option_t *  option = "CFLWRMIU") const

check if all the given flags are set

bool genfit::PruneFlags::isPruned ( ) const

check if any of the flags is set

Referenced by genfit::FitStatus::isTrackPruned().

void genfit::PruneFlags::Print ( const Option_t *  = "") const
void genfit::PruneFlags::reset ( )
void genfit::PruneFlags::setFlags ( Option_t *  option = "")

does not reset! If a flag is already true and is not in opt, it will stay true.

Member Data Documentation

int genfit::PruneFlags::value
private

Definition at line 69 of file FitStatus.h.


The documentation for this struct was generated from the following file: