Belle II Software  release-08-01-10
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 {
21  class Particle;
22 
23  namespace Variable {
24 
28  double L1Trigger(const Particle*);
29 
33  double L1TimeType(const Particle*);
34 
38  double L1TimeQuality(const Particle*);
39 
43  double isPoissonInInjectionVeto(const Particle*);
44 
49  Manager::FunctionPtr softwareTriggerResult(const std::vector<std::string>& args);
50 
56  Manager::FunctionPtr softwareTriggerResultNonPrescaled(const std::vector<std::string>& args);
57 
64  Manager::FunctionPtr softwareTriggerPrescaling(const std::vector<std::string>& args);
65 
69  bool passesAnyHighLevelTrigger(const Particle*);
70  }
72 }
std::function< VarVariant(const Particle *)> FunctionPtr
functions stored take a const Particle* and return VarVariant.
Definition: Manager.h:113
Abstract base class for different kinds of events.