|
ATLAS Offline Software
|
Go to the documentation of this file.
30 declareInterface<IDataRetriever>(
this);
33 "Collection to be first in output, shown in Atlantis without switching");
35 "Other collections to be retrieved. If list left empty, all available retrieved");
52 if (
sc.isFailure() ) {
83 std::vector<std::string>::const_iterator keyIter;
85 if ( !
evtStore()->contains<xAOD::MissingETContainer>( (*keyIter) ) ){
continue; }
87 if (!
sc.isFailure()) {
90 if ( FormatTool->AddToEvent(
dataTypeName(), (*keyIter)+
"_xAOD", &
data).isFailure()){
99 return StatusCode::SUCCESS;
127 for (; metItr != metItrE; ++metItr) {
128 sumet = (*metItr)->sumet()/
GeV;
129 mpx = (*metItr)->mpx()/
GeV;
130 mpy = (*metItr)->mpy()/
GeV;
134 <<
", sumet= " << sumet );
139 <<
", mpy= " << mpy <<
", sumet= " << sumet );
JetConstituentVector::iterator iterator
char data[hepevt_bytes_allocation_ATLAS]
Extra patterns decribing particle interation process.
Const iterator class for DataVector/DataList.
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
const DataMap getData(const xAOD::MissingETContainer *)
Retrieve basic parameters, mainly four-vectors, for each collection.
std::vector< DataType > DataVect
Defines a map with a key and a vector of DataType objects e.g.
std::map< std::string, DataVect > DataMap
virtual StatusCode retrieve(ToolHandle< IFormatTool > &FormatTool)
Retrieve all the data.
virtual std::string dataTypeName() const
Return the name of the data type.
xAODMissingETRetriever(const std::string &type, const std::string &name, const IInterface *parent)
Standard Constructor.
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
std::string m_sgKeyFavourite
::StatusCode StatusCode
StatusCode definition for legacy code.
This header is shared inbetween the C-style server thread and the C++ Athena ServerSvc.
Container for xAOD::MissingET_v1 objects.
std::vector< std::string > m_otherKeys
Wrapper to avoid constant divisions when using units.
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
#define ATH_MSG_WARNING(x)
size_type size() const noexcept
Returns the number of elements in the collection.
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.