Belle II Software  release-08-01-10
FlavorTaggingVariables.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 <analysis/VariableManager/Manager.h>
12 
13 #include <vector>
14 #include <string>
15 
16 namespace Belle2 {
21  class Particle;
22 
23  namespace Variable {
24 
30  double momentumMissingTagSide(const Particle*);
31  Manager::FunctionPtr momentumMissingTagSideWithMask(const std::vector<std::string>& arguments);
32 
36  double cosTPTO(const Particle* part);
37  Manager::FunctionPtr cosTPTOWithMask(const std::vector<std::string>& arguments);
38 
44  int lambdaFlavor(const Particle* particle);
45 
50  bool isLambda(const Particle* particle);
51 
57  double lambdaZError(const Particle* particle);
58 
62  double momentumOfSecondDaughter(const Particle* part);
63 
67  double momentumOfSecondDaughterCMS(const Particle* part);
68 
72  double chargeTimesKaonLiklihood(const Particle*);
73 
77  double transverseMomentumOfChargeTracksInRoe(const Particle* part);
78  Manager::FunctionPtr transverseMomentumOfChargeTracksInRoeWithMask(const std::vector<std::string>& arguments);
79 
83  Manager::FunctionPtr transverseMomentumSquaredOfChargeTracksInRoeWithMask(const std::vector<std::string>& arguments);
84 
90  int NumberOfKShortsInRoe(const Particle* particle);
91 
95  bool isInElectronOrMuonCat(const Particle* particle);
96 
100  bool isMajorityInRestOfEventFromB0(const Particle*);
101  Manager::FunctionPtr isMajorityInRestOfEventFromB0WithMask(const std::vector<std::string>& arguments);
102 
106  bool isMajorityInRestOfEventFromB0bar(const Particle*);
107  Manager::FunctionPtr isMajorityInRestOfEventFromB0barWithMask(const std::vector<std::string>& arguments);
108 
112  bool hasRestOfEventTracks(const Particle* part);
113  Manager::FunctionPtr hasRestOfEventTracksWithMask(const std::vector<std::string>& arguments);
114 
118  int isRelatedRestOfEventB0Flavor(const Particle* part);
119  Manager::FunctionPtr isRelatedRestOfEventB0FlavorWithMask(const std::vector<std::string>& arguments);
120 
124  int isRestOfEventB0Flavor(const Particle*);
125 
129  int ancestorHasWhichFlavor(const Particle* particle);
130 
134  int B0mcErrors(const Particle* particle);
135 
139  int isRelatedRestOfEventMajorityB0Flavor(const Particle* part);
140 
144  int isRestOfEventMajorityB0Flavor(const Particle*);
145  Manager::FunctionPtr isRelatedRestOfEventMajorityB0FlavorWithMask(const std::vector<std::string>& arguments);
146 
150  double mcFlavorOfOtherB(const Particle* particle);
151 
160  Manager::FunctionPtr BtagToWBosonVariables(const std::vector<std::string>& arguments);
161 
168  Manager::FunctionPtr KaonPionVariables(const std::vector<std::string>& arguments);
169 
179  Manager::FunctionPtr FSCVariables(const std::vector<std::string>& arguments);
180 
186  Manager::FunctionPtr hasHighestProbInCat(const std::vector<std::string>& arguments);
187 
193  Manager::FunctionPtr HighestProbInCat(const std::vector<std::string>& arguments);
194 
199  Manager::FunctionPtr isRightTrack(const std::vector<std::string>& arguments);
200 
205  Manager::FunctionPtr isRightCategory(const std::vector<std::string>& arguments);
206 
212  Manager::FunctionPtr QpOf(const std::vector<std::string>& arguments);
213 
220  Manager::FunctionPtr weightedQpOf(const std::vector<std::string>& arguments);
221 
227  Manager::FunctionPtr variableOfTarget(const std::vector<std::string>& arguments);
228 
233  Manager::FunctionPtr hasTrueTarget(const std::vector<std::string>& arguments);
234 
239  Manager::FunctionPtr isTrueCategory(const std::vector<std::string>& arguments);
240 
245  Manager::FunctionPtr qrOutput(const std::vector<std::string>& arguments);
246 
251  Manager::FunctionPtr qOutput(const std::vector<std::string>& arguments);
252 
258  Manager::FunctionPtr rBinBelle(const std::vector<std::string>& arguments);
259 
265  Manager::FunctionPtr qpCategory(const std::vector<std::string>& arguments);
266 
272  Manager::FunctionPtr isTrueFTCategory(const std::vector<std::string>& arguments);
273 
279  Manager::FunctionPtr hasTrueTargets(const std::vector<std::string>& arguments);
280 
281 
282  }
284 }
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.