14 const std::string & name,
15 const IInterface* parent )
38 ATH_MSG_ERROR(
"Configured to apply cuts, but not cut was specified");
39 return StatusCode::SUCCESS;
62 return StatusCode::SUCCESS;
72 float ptcone20(-1), ptcone30(-1);
84 ATH_MSG_DEBUG(
"Accept property is set: taking all the events");
88 auto pMuon = input.muEFIso;
91 ATH_MSG_ERROR(
"Retrieval of L2StandAloneMuon from vector failed");
95 const xAOD::Muon::MuonType muontype = pMuon->muonType();
99 ATH_MSG_DEBUG(
"Require combined muon, but this muon is not combined. -> false");
101 }
else if ( muontype != xAOD::Muon::MuonType::MuonStandAlone && muontype != xAOD::Muon::MuonType::Combined ) {
103 ATH_MSG_DEBUG(
"This muon type is neither standalone nor combined. -> false");
109 ptcone20 = input.ptcone20;
110 ptcone30 = input.ptcone30;
112 fex_ptcone03=ptcone30/1000;
121 ATH_MSG_DEBUG(
"Muon with pT cone 0.2 = " << ptcone20 <<
", pT cone 0.3 = " << ptcone30
122 <<
" so result for this muon is " << (goodmu?
"true":
"false") );
125 const double mupt = pMuon->pt();
126 fex_ptconeRel03 = ptcone30/mupt;
137 ATH_MSG_DEBUG(
"Muon with pT cone 0.2 / pt = " << ptcone20/mupt <<
", pT cone 0.3 / pt = " << ptcone30/mupt
138 <<
" so result for this muon is " << (goodmu?
"true":
"false") );
157 size_t numMuon = toolInput.size();
162 return StatusCode::SUCCESS;
168 return StatusCode::SUCCESS;
176 for (
auto&i : toolInput ) {
189 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_VERBOSE(x)
Header file to be included by clients of the Monitored infrastructure.
Group of local monitoring quantities and retain correlation when filling histograms
Declare a monitored scalar variable.
It used to be useful piece of code for replacing actual SG with other store of similar functionality ...
bool passed(DecisionID id, const DecisionIDContainer &idSet)
checks if required decision ID is in the set of IDs in the container
void addDecisionID(DecisionID id, Decision *d)
Appends the decision (given as ID) to the decision object.