|
ATLAS Offline Software
|
Go to the documentation of this file.
79 return StatusCode::FAILURE;
84 return StatusCode::SUCCESS;
95 if(!
object){
return false;}
102 if(truth->
pt()<1
e-9)
return false;
131 if(truth->
isMuon())
return false;
164 if(!truth->
isMuon())
return false;
184 return StatusCode::SUCCESS;
195 vector<const IParticle*> signalList;
196 signalList.reserve(truthCont.size());
198 for(
const auto truthp : truthCont ) {
200 if( this->
accept(truthp) ) {
202 signalList.push_back(truthp);
209 vector<const IParticle*> dummyList;
210 for(
const auto *iPart : signalList) {
213 this->
addToMET(iPart,dummyList,metTerm,metMap,minusWeight);
215 this->
addToMET(iPart,dummyList,metTerm,metMap,unitWeight);
221 return StatusCode::SUCCESS;
@ TruthMuons
Indicator for muons from MC truth (muons from the interaction)
@ NonInt
Indicator for MET from non-interacting particles generated in the collision.
@ VIEW_ELEMENTS
this data object is a view, it does not own its elmts
DataVector adapter that acts like it holds const pointers.
static MissingETComponentMap::const_iterator find(const MissingETComponentMap *pMap, const MissingET *pmetObj)
Find non-modifiable contribution for a given MET object.
TruthEvent_v1 TruthEvent
Typedef to implementation.
@ IntOut
Indicator for MET contributions from particles outside of the acceptance of the detector (typically ...
const TruthParticle * truthParticle(size_t index) const
Get a pointer to one of the truth particles.
bool isGenStable() const
Check if this is generator stable particle.
MissingET_v1 MissingET
Version control by type defintion.
Athena::TPCnvVers::Old Athena::TPCnvVers::Old Athena::TPCnvVers::Old Athena::TPCnvVers::Current MissingETComposition
#define ATH_MSG_VERBOSE(x)
uint64_t bitmask_t
Type for status word bit mask.
Class providing the definition of the 4-vector interface.
void setSource(MissingETBase::Types::bitmask_t src)
Set the source of the MET object.
@ Int
Indicator for MET from interacting particles within the nominal acceptance of the detector.
::StatusCode StatusCode
StatusCode definition for legacy code.
Class describing a truth particle in the MC record.
TruthParticle_v1 TruthParticle
Typedef to implementation.
const T * front() const
Access the first element in the collection as an rvalue.
Principal data object for Missing ET.
Class describing a signal truth event in the MC record.
size_t index() const
Return the index of this element within its container.
virtual bool isValid() override final
Can the handle be successfully dereferenced?
size_t nTruthParticles() const
Get the number of truth particles.
value_type push_back(value_type pElem)
Add an element to the end of the collection.
TruthParticleContainer_v1 TruthParticleContainer
Declare the latest version of the truth particle container.
virtual double eta() const override final
The pseudorapidity ( ) of the particle.
#define ATH_MSG_WARNING(x)
DataVector adapter that acts like it holds const pointers.
TruthEventContainer_v1 TruthEventContainer
Declare the latest version of the truth event container.
MissingETComponentMap_v1 MissingETComponentMap
Version control by type definition.
bool isMuon() const
Whether the particle is a muon (or antimuon)
Kinematic weight descriptor.
virtual double pt() const override final
The transverse momentum ( ) of the particle.
bool isInteracting(const T &p)
Identify if the particle with given PDG ID would not interact with the detector, i....
int pdgId() const
PDG ID code.