|
ATLAS Offline Software
|
|
enum | SoftTermParams { Random = 0,
PthardParam = 1,
TSTParam = 2
} |
|
enum | METSignificanceResoTerms {
ResoNone = 0,
ResoJet = 1,
ResoSoft = 2,
ResoEle = 3,
ResoMuo = 4,
ResoPho = 5,
ResoTau = 6
} |
|
enum | SystType { INVALID =-1,
SOFTCALO,
SOFTTRK,
JETTRK
} |
|
enum | SWClusterMatchMethod { DeltaR,
ClusterLink
} |
|
enum | SystApplied {
NONE,
MET_SOFTTRK_SCALEUP,
MET_SOFTTRK_SCALEDOWN,
MET_SOFTTRK_RESOPARA,
MET_SOFTTRK_RESOPERP,
MET_SOFTTRK_RESOCORR,
MET_SOFTCALO_SCALEUP,
MET_SOFTCALO_SCALEDOWN,
MET_SOFTCALO_RESO,
MET_JETTRK_SCALEUP,
MET_JETTRK_SCALEDOWN
} |
|
◆ iplink_t
◆ obj_link_t
◆ METSignificanceResoTerms
Enumerator |
---|
ResoNone | |
ResoJet | |
ResoSoft | |
ResoEle | |
ResoMuo | |
ResoPho | |
ResoTau | |
Definition at line 31 of file IMETSignificance.h.
◆ SoftTermParams
◆ SWClusterMatchMethod
◆ SystApplied
Enumerator |
---|
NONE | |
MET_SOFTTRK_SCALEUP | |
MET_SOFTTRK_SCALEDOWN | |
MET_SOFTTRK_RESOPARA | |
MET_SOFTTRK_RESOPERP | |
MET_SOFTTRK_RESOCORR | |
MET_SOFTCALO_SCALEUP | |
MET_SOFTCALO_SCALEDOWN | |
MET_SOFTCALO_RESO | |
MET_JETTRK_SCALEUP | |
MET_JETTRK_SCALEDOWN | |
Definition at line 68 of file METSystematicsTool.h.
◆ SystType
◆ addGhostMuonsToJets()
Definition at line 34 of file METHelpers.cxx.
36 std::vector<const xAOD::TrackParticle*> jet_tracks;
39 std::vector<const xAOD::Muon*> muons_in_jet;
42 if (
jet->getAssociatedObjects(
"GhostTrack", jet_tracks) ) {
44 for(
const auto *
const muon : muons) {
46 if(!idtrack)
continue;
51 for(
unsigned jtrk=0; jtrk<jet_tracks.size(); ++jtrk) {
53 if(jet_tracks.at(jtrk)==idtrack) {
54 muons_in_jet.push_back(
muon);
60 jet->setAssociatedObjects(
"GhostMuon", muons_in_jet) ;
◆ buildMETSum() [1/2]
Definition at line 64 of file METHelpers.cxx.
67 using namespace msgMET;
73 return StatusCode::FAILURE;
77 if(*iMET==metFinal)
continue;
82 <<
" mpx: " << metFinal->
mpx()
83 <<
" mpy: " << metFinal->
mpy()
86 return StatusCode::SUCCESS;
◆ buildMETSum() [2/2]
Definition at line 89 of file METHelpers.cxx.
93 using namespace msgMET;
98 ANA_MSG_ERROR(
"failed to fill MET term \"" << totalName <<
"\"");
99 return StatusCode::FAILURE;
103 for(
const auto met : *metCont) {
105 if(
met->source()==invisSource)
continue;
114 <<
" mpx: " << metFinal->
mpx()
115 <<
" mpy: " << metFinal->
mpy()
118 return StatusCode::SUCCESS;
◆ fillMET()
Definition at line 123 of file METHelpers.cxx.
127 using namespace msgMET;
130 return StatusCode::FAILURE;
132 if(metCont->
find(metKey)!=metCont->
end()){
133 ANA_MSG_ERROR(
"Attempted to add a duplicate MET term: " << metKey);
134 return StatusCode::FAILURE;
140 met->setName (metKey);
141 met->setSource(metSource);
143 return StatusCode::SUCCESS;
◆ getSystType()
Definition at line 53 of file IMETSystematicsTool.h.
55 if(systematic == met::softCaloAffSyst::MET_SoftCalo_ScaleUp ||
56 systematic == met::softCaloAffSyst::MET_SoftCalo_ScaleDown ||
57 systematic == met::softCaloAffSyst::MET_SoftCalo_Reso )
return SOFTCALO;
58 if(systematic == met::softTrkAffSyst::MET_SoftTrk_ScaleUp ||
59 systematic == met::softTrkAffSyst::MET_SoftTrk_ScaleDown ||
60 systematic == met::softTrkAffSyst::MET_SoftTrk_ResoPara ||
61 systematic == met::softTrkAffSyst::MET_SoftTrk_ResoPerp )
return SOFTTRK;
62 if(systematic == met::jetTrkAffSyst::MET_JetTrk_ScaleUp ||
63 systematic == met::jetTrkAffSyst::MET_JetTrk_ScaleDown )
return JETTRK;
Const iterator class for DataVector/DataList.
static bool hasPattern(E bits, F mask)
Generic check for given pattern.
static bool isTotalTerm(Types::bitmask_t bits, Region reg=Region::FullAcceptance)
MissingET_v1 MissingET
Version control by type defintion.
double deltaR2(double rapidity1, double phi1, double rapidity2, double phi2)
from bare rapidity,phi
const_iterator find(const std::string &name) const
Find non-modifiable MET object by name.
Principal data object for Missing ET.
float mpx() const
Returns .
value_type push_back(value_type pElem)
Add an element to the end of the collection.
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
static Types::bitmask_t total(Region reg=Region::FullAcceptance)
Standard full reconstructed MET.
StatusCode fillMET(xAOD::MissingET *&met, xAOD::MissingETContainer *metCont, const std::string &metKey, const MissingETBase::Types::bitmask_t metSource)
Class describing a TrackParticle.
float mpy() const
Returns .
static bool isSoftTerm(Types::bitmask_t bits, Region reg=Region::FullAcceptance)
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.