ATLAS Offline Software
MissingMassInput.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 // Class handling the input of the MissingMassCalculator
6 // author Michael Huebner <michael.huebner@no.spam.cern.ch>
7 
8 #ifndef DITAUMASSTOOLS_MISSINGMASSINPUT_H
9 #define DITAUMASSTOOLS_MISSINGMASSINPUT_H
10 
11 // EDM include(s):
13 
14 // Local include(s):
16 
17 namespace DiTauMassTools{
18  using ROOT::Math::PtEtaPhiMVector;
19  using ROOT::Math::XYVector;
20 
22 
23  public:
26 
27  void ClearInput();
28  void PrintInputInfo();
29 
30  void SetBeamEnergy(double val) { m_beamEnergy=val; } // beam energy
31  void SetMETresSyst(int val) { m_METresSyst=val; } // MET resolution systematics: +/-1 sigma
32  void SetMetScanParamsUE(double sumEt, double phi_scan=0.0, int data_code=0);
33  void SetNjet25(int val);
34  void SetSumEt(double sumEt);
35  void SetVisTauVec(int i, const PtEtaPhiMVector & vec);
36  void SetVisTauType(int i, int tautype);
37  void SetMetVec(const XYVector & vec);
38  void SetNprong(int i, int nprong);
39  void SetIsData(int val);
40  void SetMHtSigma1(double val) { m_MHtSigma1=val; }
41  void SetMHtSigma2(double val) { m_MHtSigma2=val; }
42  void SetMHtGaussFr(double val) { m_MHtGaussFr=val; }
47  void SetLFVmode(int val) { m_LFVmode=val; }
48 
49  friend class MissingMassCalculator;
50  friend class MissingMassProb;
51 
52  private:
53  XYVector m_MetVec;
54  PtEtaPhiMVector m_vistau1;
55  PtEtaPhiMVector m_vistau2;
56  int m_type_visTau1; // 0: l, 1:1-prong, 3:3-prong
57  int m_type_visTau2; // 0: l, 1:1-prong, 3:3-prong
61  double m_METcovphi;
62  double m_METsigmaP;
63  double m_METsigmaL;
64  double m_SumEt;
65  std::vector<PtEtaPhiMVector> m_jet4vecs;
66  int m_Njet25;
67  double m_DelPhiTT;
68  double m_MHtSigma1; // sigma of 1st Gaussian in missing Ht resolution
69  double m_MHtSigma2; // sigma of 2nd Gaussian in missing Ht resolution
70  double m_MHtGaussFr; // relative fraction of 2nd Gaussian
71  double m_HtOffset; // HT offset
72  double m_beamEnergy; // beam energy (Tevatron=980, LHC-1=3500.0)
73  int m_InputReorder; // flag for input re-order
74  int m_METScanScheme; // MET-scan scheme: 0- use JER; 1- use simple sumEt & missingHt for Njet=0 events in (lep-had)
75  int m_METresSyst; // switch to turn on/off MET resolution systematics
76  bool m_fUseDefaults; // switch to control defaults: 1== use defaults, 0== don't use defaults (useful for studies)
77  bool m_fUseTailCleanup; // switch to apply tail clean-up
78  bool m_fUseVerbose; // code to turn ON printouts for debugging
79  XYVector m_metVec;
80  PtEtaPhiMVector m_tlv_tmp;
82  double m_MEtX, m_MEtY,m_MEtT;
83  double m_htOffset;
84  int m_LFVmode; // flag to determine which LFV decay to be reconstructed: 0=H->e+tau(mu) or 1=H->mu+tau(e)
86 };
87 } // namespace DiTauMassTools
88 
89 #endif
DiTauMassTools::MissingMassInput::SetMHtGaussFr
void SetMHtGaussFr(double val)
Definition: MissingMassInput.h:42
DiTauMassTools::MissingMassInput::SetMHtSigma1
void SetMHtSigma1(double val)
Definition: MissingMassInput.h:40
DiTauMassTools::MissingMassInput::m_METsigmaP
double m_METsigmaP
Definition: MissingMassInput.h:62
DiTauMassTools::MissingMassInput::m_METScanScheme
int m_METScanScheme
Definition: MissingMassInput.h:74
DiTauMassTools::MissingMassInput::~MissingMassInput
~MissingMassInput()
Definition: MissingMassInput.cxx:20
DiTauMassTools::MissingMassInput::SetMetScanParamsUE
void SetMetScanParamsUE(double sumEt, double phi_scan=0.0, int data_code=0)
Definition: MissingMassInput.cxx:89
DiTauMassTools::MissingMassInput::m_MHtGaussFr
double m_MHtGaussFr
Definition: MissingMassInput.h:70
DiTauMassTools::MissingMassInput::m_metVec
XYVector m_metVec
Definition: MissingMassInput.h:79
DiTauMassTools::MissingMassInput::SetUseDefaults
void SetUseDefaults(int val)
Definition: MissingMassInput.h:44
DiTauMassTools::MissingMassInput::m_inputMEtT
double m_inputMEtT
Definition: MissingMassInput.h:81
DiTauMassTools::MissingMassInput::m_MHtSigma1
double m_MHtSigma1
Definition: MissingMassInput.h:68
DiTauMassTools::MissingMassInput::m_METsigmaL
double m_METsigmaL
Definition: MissingMassInput.h:63
HelperFunctions.h
DiTauMassTools::MissingMassInput::m_vistau1
PtEtaPhiMVector m_vistau1
Definition: MissingMassInput.h:54
vec
std::vector< size_t > vec
Definition: CombinationsGeneratorTest.cxx:12
DiTauMassTools::MissingMassInput::SetLFVmode
void SetLFVmode(int val)
Definition: MissingMassInput.h:47
DiTauMassTools::MissingMassInput::SetUseVerbose
void SetUseVerbose(bool val)
Definition: MissingMassInput.h:46
DiTauMassTools::MissingMassInput::SetBeamEnergy
void SetBeamEnergy(double val)
Definition: MissingMassInput.h:30
DiTauMassTools::MissingMassInput::m_METcovphi
double m_METcovphi
Definition: MissingMassInput.h:61
DiTauMassTools::MissingMassCalculator
Definition: MissingMassCalculator.h:46
DiTauMassTools::MissingMassInput::SetVisTauVec
void SetVisTauVec(int i, const PtEtaPhiMVector &vec)
Definition: MissingMassInput.cxx:123
DiTauMassTools::MissingMassInput::m_tauTypes
TauTypes::e m_tauTypes
Definition: MissingMassInput.h:85
DiTauMassTools::MissingMassInput::m_Njet25
int m_Njet25
Definition: MissingMassInput.h:66
DiTauMassTools
Definition: PhysicsAnalysis/TauID/DiTauMassTools/DiTauMassTools/HelperFunctions.h:24
DiTauMassTools::MissingMassInput::m_htOffset
double m_htOffset
Definition: MissingMassInput.h:83
DiTauMassTools::MissingMassInput::m_SumEt
double m_SumEt
Definition: MissingMassInput.h:64
DiTauMassTools::MissingMassInput::m_Nprong_tau2
int m_Nprong_tau2
Definition: MissingMassInput.h:59
lumiFormat.i
int i
Definition: lumiFormat.py:85
DiTauMassTools::MissingMassInput::m_MHtSigma2
double m_MHtSigma2
Definition: MissingMassInput.h:69
DiTauMassTools::MissingMassInput::SetIsData
void SetIsData(int val)
Definition: MissingMassInput.cxx:137
DiTauMassTools::MissingMassInput::m_MEtT
double m_MEtT
Definition: MissingMassInput.h:82
DiTauMassTools::MissingMassInput::m_Nprong_tau1
int m_Nprong_tau1
Definition: MissingMassInput.h:58
DiTauMassTools::TauTypes::e
e
Definition: PhysicsAnalysis/TauID/DiTauMassTools/DiTauMassTools/HelperFunctions.h:53
DiTauMassTools::MissingMassInput::SetNjet25
void SetNjet25(int val)
Definition: MissingMassInput.cxx:107
DiTauMassTools::MissingMassInput::m_dataType
int m_dataType
Definition: MissingMassInput.h:60
DiTauMassTools::MissingMassInput::m_fUseVerbose
bool m_fUseVerbose
Definition: MissingMassInput.h:78
DiTauMassTools::MissingMassInput::SetMHtSigma2
void SetMHtSigma2(double val)
Definition: MissingMassInput.h:41
DiTauMassTools::MissingMassInput::m_HtOffset
double m_HtOffset
Definition: MissingMassInput.h:71
DiTauMassTools::MissingMassInput::m_tlv_tmp
PtEtaPhiMVector m_tlv_tmp
Definition: MissingMassInput.h:80
MissingET.h
DiTauMassTools::MissingMassInput::m_MetVec
XYVector m_MetVec
Definition: MissingMassInput.h:53
DiTauMassTools::MissingMassInput::m_type_visTau2
int m_type_visTau2
Definition: MissingMassInput.h:57
DiTauMassTools::MissingMassInput::m_DelPhiTT
double m_DelPhiTT
Definition: MissingMassInput.h:67
DiTauMassTools::MissingMassInput::PrintInputInfo
void PrintInputInfo()
Definition: MissingMassInput.cxx:58
DiTauMassTools::MissingMassInput::m_fUseTailCleanup
bool m_fUseTailCleanup
Definition: MissingMassInput.h:77
DiTauMassTools::MissingMassInput::m_MEtX
double m_MEtX
Definition: MissingMassInput.h:82
DiTauMassTools::MissingMassInput::m_vistau2
PtEtaPhiMVector m_vistau2
Definition: MissingMassInput.h:55
DiTauMassTools::MissingMassInput::SetVisTauType
void SetVisTauType(int i, int tautype)
Definition: MissingMassInput.cxx:117
DiTauMassTools::MissingMassProb
Definition: MissingMassProb.h:28
DiTauMassTools::MissingMassInput::m_MEtY
double m_MEtY
Definition: MissingMassInput.h:82
DiTauMassTools::MissingMassInput::ClearInput
void ClearInput()
Definition: MissingMassInput.cxx:24
Pythia8_RapidityOrderMPI.val
val
Definition: Pythia8_RapidityOrderMPI.py:14
DiTauMassTools::MissingMassInput::m_inputMEtX
double m_inputMEtX
Definition: MissingMassInput.h:81
DiTauMassTools::MissingMassInput
Definition: MissingMassInput.h:21
DiTauMassTools::MissingMassInput::m_jet4vecs
std::vector< PtEtaPhiMVector > m_jet4vecs
Definition: MissingMassInput.h:65
DiTauMassTools::MissingMassInput::m_type_visTau1
int m_type_visTau1
Definition: MissingMassInput.h:56
DiTauMassTools::MissingMassInput::SetMETScanScheme
void SetMETScanScheme(int val)
Definition: MissingMassInput.h:43
DiTauMassTools::MissingMassInput::m_METresSyst
int m_METresSyst
Definition: MissingMassInput.h:75
DiTauMassTools::MissingMassInput::SetUseTailCleanup
void SetUseTailCleanup(bool val)
Definition: MissingMassInput.h:45
DiTauMassTools::MissingMassInput::m_InputReorder
int m_InputReorder
Definition: MissingMassInput.h:73
DiTauMassTools::MissingMassInput::m_beamEnergy
double m_beamEnergy
Definition: MissingMassInput.h:72
DiTauMassTools::MissingMassInput::SetMetVec
void SetMetVec(const XYVector &vec)
Definition: MissingMassInput.cxx:130
DiTauMassTools::MissingMassInput::m_fUseDefaults
bool m_fUseDefaults
Definition: MissingMassInput.h:76
DiTauMassTools::MissingMassInput::SetSumEt
void SetSumEt(double sumEt)
Definition: MissingMassInput.cxx:112
DiTauMassTools::MissingMassInput::SetMETresSyst
void SetMETresSyst(int val)
Definition: MissingMassInput.h:31
DiTauMassTools::MissingMassInput::m_inputMEtY
double m_inputMEtY
Definition: MissingMassInput.h:81
DiTauMassTools::MissingMassInput::SetNprong
void SetNprong(int i, int nprong)
Definition: MissingMassInput.cxx:142
DiTauMassTools::MissingMassInput::MissingMassInput
MissingMassInput()
Definition: MissingMassInput.cxx:16
DiTauMassTools::MissingMassInput::m_LFVmode
int m_LFVmode
Definition: MissingMassInput.h:84