Belle II Software  release-06-01-15
TriggerVariables.h
1 /**************************************************************************
2  * basf2 (Belle II Analysis Software Framework) *
3  * Author: The Belle II Collaboration *
4  * *
5  * See git log for contributors and copyright holders. *
6  * This file is licensed under LGPL-3.0, see LICENSE.md. *
7  **************************************************************************/
8 
9 #pragma once
10 
11 #include <vector>
12 #include <string>
13 #include <analysis/VariableManager/Manager.h>
14 
15 
16 namespace Belle2 {
22  class Particle;
23 
24  namespace Variable {
25 
29  double L1Trigger(const Particle*);
30 
34  double L1TimeType(const Particle*);
35 
39  double L1TimeQuality(const Particle*);
40 
44  double isPoissonInInjectionVeto(const Particle*);
45 
50  Manager::FunctionPtr softwareTriggerResult(const std::vector<std::string>& args);
51 
57  Manager::FunctionPtr softwareTriggerResultNonPrescaled(const std::vector<std::string>& args);
58 
65  Manager::FunctionPtr softwareTriggerPrescaling(const std::vector<std::string>& args);
66 
70  double passesAnyHighLevelTrigger(const Particle*);
71  }
73 }
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:108
Abstract base class for different kinds of events.