Belle II Software  release-05-02-19
TriggerVariables.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2018 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Torben Ferber (torben.ferber@desy.de) *
7  * Sam Cunliffe (sam.cunliffe@desy.de) *
8  * *
9  * This software is provided "as is" without any warranty. *
10  **************************************************************************/
11 
12 #pragma once
13 
14 #include <vector>
15 #include <string>
16 #include <analysis/VariableManager/Manager.h>
17 
18 
19 namespace Belle2 {
24  class Particle;
25 
26  namespace Variable {
27 
31  double L1Trigger(const Particle*);
32 
36  double L1FTDLBit(const Particle*, const std::vector<double>& bit);
37 
41  double L1PSNMBit(const Particle*, const std::vector<double>& bit);
42 
46  double L1InputBit(const Particle*, const std::vector<double>& bit);
47 
51  double L1PSNMBitPrescale(const Particle*, const std::vector<double>& bit);
52 
56  double getTimType(const Particle*);
57 
61  Manager::FunctionPtr softwareTriggerResult(const std::vector<std::string>& args);
62 
67  Manager::FunctionPtr softwareTriggerResultNonPrescaled(const std::vector<std::string>& args);
68 
74  Manager::FunctionPtr softwareTriggerPrescaling(const std::vector<std::string>& args);
75 
79  double passesAnyHighLevelTrigger(const Particle*);
80  }
82 }
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::Variable::Manager::FunctionPtr
std::function< double(const Particle *)> FunctionPtr
NOTE: the python interface is documented manually in analysis/doc/Variables.rst (because we use ROOT ...
Definition: Manager.h:118