|
ATLAS Offline Software
|
Go to the documentation of this file.
18 #include "GaudiKernel/SystemOfUnits.h"
34 const std::string&
name,
40 "ICollectionGetterTool instance defining "
41 "the target collection");
42 declareProperty (
"DRCut",
m_drcut = 999,
43 "DR cut for the association");
72 const std::type_info& ti)
75 CHECK(
m_getter->configureElementTypeinfo (this->typeinfo()));
76 return StatusCode::SUCCESS;
86 return StatusCode::SUCCESS;
100 if (
p.p() < 1
e-3*
MeV)
return 0;
102 if( std::isinf(
p.eta()) )
return 0;
106 if (
m_getter->reset().isFailure()) {
116 if (
obj->pt() < 1
e-2*
MeV)
continue;
117 if( std::isinf(
obj->eta() ) )
continue;
139 if (
p.e() < 1
e-3*
MeV)
return 0;
141 if( std::isinf(
p.eta()) )
return 0;
145 if (
m_getter->reset().isFailure()) {
155 if (
obj->pt() < 1
e-2*
MeV)
continue;
156 if( std::isinf(
obj->eta() ) )
continue;
157 float dr =
p.p4().DeltaR (
obj->p4());
Common interface for adding a variable to a tuple.
def pout(output, newline=True)
virtual StatusCode addVariable(const std::string &name, const std::type_info &ti, void *&ptr, const std::string &docstring="", const void *defval=0)
Add a variable to the tuple.
Class providing the definition of the 4-vector interface.
Block filler tool for noisy FEB information.
::StatusCode StatusCode
StatusCode definition for legacy code.
#define CHECK(...)
Evaluate an expression and check for errors.
double deltaR(const I4Momentum &p4, double eta, double phi)
from 1 I4Momentum
Helpers for checking error return status codes and reporting errors.
#define REPORT_MESSAGE(LVL)
Report a message.