Loading [MathJax]/extensions/tex2jax.js
|
ATLAS Offline Software
|
Go to the documentation of this file.
21 m_corrFactors( { { 1.0007-1, 0.9904-1, 0.9884-1, 0.9128-1, 0.8114-1,
22 0.7833-1, 0.6872-1, 0.6424-1, 0.6424-1 } } ) {
25 declareProperty(
"TruthJetContainer",
26 m_truthJetContainer =
"AntiKt4TruthWZJets" );
27 declareProperty(
"TruthParticleContainer",
28 m_truthParticleContainer =
"TruthParticles" );
41 static const double NORM = 1.007;
47 return StatusCode::SUCCESS;
55 <<
"\") found! Dummy null weight retrieved." );
97 const bool doRemoval = ( jetContainer ==
"AntiKt4TruthJets" );
107 size_t nTruthJets = 0;
114 ATH_MSG_ERROR(
"Couldn't retrieve truth particle container: "
121 for(
const xAOD::Jet* truthJet : *truthJets ) {
124 if( truthJet->pt() <= 20000. || std::abs( truthJet->eta() ) >= 4.5 ) {
130 acc(
"HadronConeExclTruthLabelID" );
131 if(
acc.isAvailable( *truthJet ) && (
acc( *truthJet ) == 15 ) ) {
147 ( ( std::abs( truthParticle->pdgId() ) != 11 ) &&
148 ( std::abs( truthParticle->pdgId() ) != 13 ) ) ) {
152 if( ( truthParticle->pt() <= 20000.0 ) ||
153 ( std::abs( truthParticle->eta() ) >= 4.5 ) ) {
158 static const double MIN_DISTANCE = 0.2 * 0.2;
161 if( dR2 < MIN_DISTANCE ) {
def retrieve(aClass, aKey=None)
Helper class to provide constant type-safe access to aux data.
double deltaR2(double rapidity1, double phi1, double rapidity2, double phi2)
from bare rapidity,phi
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
::StatusCode StatusCode
StatusCode definition for legacy code.
Class describing a truth particle in the MC record.
bool isStable(const T &p)
Identify if the particle is stable, i.e. has not decayed.
#define ATH_MSG_WARNING(x)
bool vetoJet(const xAOD::jFexSRJetRoI *j)