ATLAS Offline Software
CalibrationDataVariables.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // //
7 // CalibrationDataVariables //
8 // //
9 // This class (struct, actually) is nothing but a light-weight container of (kinematic or //
10 // other) variables. Encapsulating these variables has the advantage of providing a //
11 // framework-independent interface. //
12 // A drawback is that it is not a priori obvious which variables will be relevant //
13 // for which calibration. The following rules of thumb apply: //
14 /* Begin_Html
15 <ul>
16  <li>specifying more information than strictly necessary doesn't hurt!</li>
17  <li>always specify the jet collection</li>
18  <li>the tag weight variable is relevant only in case of so-called continuous tagging</li>
19 </ul>
20 End_Html */
21 // //
22 // CalibrationDataVariables.h, (c) ATLAS Detector software //
24 
25 #ifndef ANALYSISCALIBRATIONDATAVARIABLES_H
26 #define ANALYSISCALIBRATIONDATAVARIABLES_H
27 
28 #include <string>
29 #include <utility>
30 
31 namespace Analysis
32 {
33 
43  public:
44  std::string jetAuthor;
45  double jetPt; // in MeV
46  double jetEta;
47  double jetTagWeight; // actual output of the tagging algorithm (relevant only for "continuous" tagging)
48  };
49 
57  kSuccess = 0, // all OK
58  kRange = 1, // given coordinates outside the range of validity of the calibration
59  kExtrapolatedRange = 2, // given coordinates even outside the extrapolation range
60  kError = 3 // "technical" error (typically: nonexistent object)
61  };
62 
63 }
64 
65 #endif // ANALYSISCALIBRATIONDATAVARIABLES_H
Analysis::CalibrationDataVariables::jetPt
double jetPt
Definition: CalibrationDataVariables.h:45
Analysis::CalibrationDataVariables::jetTagWeight
double jetTagWeight
Definition: CalibrationDataVariables.h:47
Analysis::kSuccess
@ kSuccess
Definition: CalibrationDataVariables.h:57
Analysis::CalibrationDataVariables::jetAuthor
std::string jetAuthor
Definition: CalibrationDataVariables.h:44
Analysis::kExtrapolatedRange
@ kExtrapolatedRange
Definition: CalibrationDataVariables.h:59
Analysis::kError
@ kError
Definition: CalibrationDataVariables.h:60
Analysis::kRange
@ kRange
Definition: CalibrationDataVariables.h:58
Analysis
The namespace of all packages in PhysicsAnalysis/JetTagging.
Definition: BTaggingCnvAlg.h:20
Analysis::CalibrationStatus
CalibrationStatus
Definition: CalibrationDataVariables.h:56
Analysis::CalibrationDataVariables
Definition: CalibrationDataVariables.h:42
Analysis::CalibrationDataVariables::jetEta
double jetEta
Definition: CalibrationDataVariables.h:46