Esempio n. 1
0
ARMENTEROS = LoKi.Particles.ArmenterosPodolanski()

## @see LoKi::Cuts::ALL
ALL = LoKi.Constant(_RCP, bool)(True)
## @see LoKi::Cuts::NONE
NONE = LoKi.Constant(_RCP, bool)(False)
## @see LoKi::Cuts::PALL
PALL = LoKi.Constant(_RCP, bool)(True)
## @see LoKi::Cuts::PNONE
PNONE = LoKi.Constant(_RCP, bool)(False)
## @see LoKi::Cuts::ONE
ONE = LoKi.Constant(_RCP, 'double')(1.0)
## @see LoKi::Cuts::ZERO
ZERO = LoKi.Constant(_RCP, 'double')(0.0)
## @see LoKi::Cuts::VALID
VALID = LoKi.Valid(_RCP)()
## @see LoKi::Cuts::SAME
SAME = LoKi.TheSame(_RCP)
## @see LoKi::Cuts::HASKEY
HASKEY = LoKi.Particles.HasKey()
## @see LoKi::Cuts::KEY
KEY = LoKi.Particles.Key()
## @see LoKi::Cuts::PKEY
PKEY = KEY
## @see LoKi::Cuts::INTES
INTES = LoKi.Particles.InTES
## @see LoKi::Cuts::PINTES
PINTES = INTES
## @see LoKi::Cuts::ID
ID = LoKi.Particles.Identifier()
## @see LoKi::Cuts::ABSID
Esempio n. 2
0
TrFunVal = LoKi.FunctorFromFunctor(_vt, 'double')
TrSources = LoKi.Functor('void', _vt)
TrSource = LoKi.FunctorFromFunctor('void', _vt)
TrCutVals = LoKi.Functor(_vt, bool)
TrCutVal = LoKi.FunctorFromFunctor(_vt, bool)

TrSOURCE = LoKi.Tracks.SourceTES
TrTES = LoKi.Tracks.SourceTES

TrEMPTY = LoKi.Functors.Empty(_T)()
TrSIZE = LoKi.Functors.Size(_T)()

TrNUM = LoKi.Tracks.TESCounter

TrFAKESOURCE = LoKi.Functors.FakeSource(_T)
TrVALID = LoKi.Valid(_T)()


# =============================================================================
## helper function to create ``smart'' RecSumary functor
#  @see HASRECSUMMARY
#  @see    RECSUMMARY
#  @see      TrNUM
#  @author rlambert
#  @date  26.11.2011
def recSummaryTrack(index, trtype, location='Rec/Track/Best'):
    """
    Helper function to create ``smart'' RecSummary-fucntor
    
    result = has summary  ? summary : contains