Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

 

name

description

trk1d0sig

d0 significance of track with highest d0 significance

trk2d0sig

d0 significance of track with second highest d0 significance

trk1z0sig

z0 significance of track with highest d0 significance (ordering by d0, not z0)

trk2z0sig

z0 significance of track with second highest d0 significance (ordering by d0, not z0)

trk1pt

transverse momentum of track with highest d0 significance

trk1pt_jete

trk1pt divided by the jet energy

trk2pt

transverse momentum of track with second highest d0 significance

trk2pt_jete

trk2pt divided by the jet energy

jprobr

joint probability in the r-phi plane

jprobz

joint probability in the z projection

vtxlen1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

How to add a new variable

Each variable is defined inside FlavorTag.cc as a class inheriting from FTAlgo. The name of the variable is defined by providing a string argument to the constructor of the parent class. The variable class should implement the process() method which performs the variable computation. The result should be stored in the member variable _result.

An example implementation is shown below.

Code Block

      class FtNvtx : public FTAlgo {class FtNvtx : public FTAlgo {
  public:
    FtNvtx() : FTAlgo("nvtx") {}
    void process() { _result = _jet->getVertices().size(); }
};

Using training results

Example of getting flavor tagging information inside a Marlin processor:

...