ATLAS Offline Software
Loading...
Searching...
No Matches
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
17namespace 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; }
43 void SetMETScanScheme(int val) { m_METScanScheme=val; }
44 void SetUseDefaults(int val) { m_fUseDefaults=val; }
45 void SetUseTailCleanup(bool val) { m_fUseTailCleanup=val; }
46 void SetUseVerbose(bool val) { m_fUseVerbose=val; }
47 void SetLFVmode(int val) { m_LFVmode=val; }
48
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
std::vector< size_t > vec
void SetMetScanParamsUE(double sumEt, double phi_scan=0.0, int data_code=0)
std::vector< PtEtaPhiMVector > m_jet4vecs
void SetMetVec(const XYVector &vec)
void SetVisTauVec(int i, const PtEtaPhiMVector &vec)
void SetVisTauType(int i, int tautype)