 |
ATLAS Offline Software
|
Go to the documentation of this file.
16 #include "GaudiKernel/MsgStream.h"
17 #include "Gaudi/Property.h"
18 #include "GaudiKernel/SystemOfUnits.h"
38 ISvcLocator* pSvcLocator ) :
48 "Input location of particles" );
52 "Input location of Decay" );
56 "Input location of Elephantino" );
60 "List of tests to proceed with" );
75 return StatusCode::SUCCESS;
81 return StatusCode::SUCCESS;
88 for ( std::vector<std::string>::const_iterator
96 return StatusCode::FAILURE;
100 return StatusCode::SUCCESS;
105 const std::string&
test = testName;
113 << particlesName <<
"] !!");
114 return StatusCode::RECOVERABLE;
123 (
"Could not fetch iparticles at [" << iparticlesName <<
"] !!");
124 return StatusCode::RECOVERABLE;
133 (
"Could not fetch Decay at [" << decayName <<
"] !!");
134 return StatusCode::RECOVERABLE;
143 (
"Could not fetch Elephantino at [" << elephantinoName <<
"] !!");
144 return StatusCode::RECOVERABLE;
150 <<
"IN iparticles: " << iparticles->
size() <<
endmsg
152 <<
" p1: px= " << decay->
p1()->
px() * igev <<
endmsg
153 <<
" p2: px= " << decay->
p2()->
px() * igev);
165 <<
"IN elephantino: " <<
endmsg
166 <<
" leg1: px= " << elephantino->
leg1()->
px() * igev <<
endmsg
167 <<
" leg2: px= " << elephantino->
leg2()->
px() * igev <<
endmsg
168 <<
" leg3: px= " << elephantino->
leg3()->
px() * igev <<
endmsg
169 <<
" leg4: px= " << elephantino->
leg4()->
px() * igev <<
endmsg;
172 if ( elephantino->
ear1() ) {
178 if ( elephantino->
ear2() ) {
185 for (
unsigned int i = 0;
i !=
particles->size(); ++
i ) {
187 << std::setw(9) << (* particles)[
i]->px() * igev
189 << std::setw(9) << (*iparticles)[
i]->px() * igev
194 return StatusCode::SUCCESS;
def retrieve(aClass, aKey=None)
std::vector< std::string > m_testNames
list of test names
virtual StatusCode execute()
virtual double px() const
Implementation of the AthExIParticle interface.
const AthExIParticle * leg4() const
const AthExIParticle * ear2() const
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
const AthExIParticle * ear1() const
const AthExIParticle * leg2() const
::StatusCode StatusCode
StatusCode definition for legacy code.
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
StringProperty m_decayName
Decay input location.
virtual StatusCode finalize()
const AthExParticle * l1() const
virtual StatusCode initialize()
StringProperty m_elephantinoName
Elephantino input location.
ReadThinnedData()
Default constructor:
virtual double px() const =0
AthExIParticle interface.
#define ATH_MSG_WARNING(x)
const AthExParticle * p2() const
virtual ~ReadThinnedData()
Destructor:
const AthExIParticle * leg1() const
StatusCode checkTest(const std::string &testName)
read the output of a given test (test1, test2, test3)
const AthExParticle * p1() const
const AthExIParticle * leg3() const
StringProperty m_particlesName
Containers.
size_type size() const noexcept
Returns the number of elements in the collection.
const AthExParticle * l2() const