|
ATLAS Offline Software
|
Go to the documentation of this file.
14 const std::string&
name,
23 return StatusCode::SUCCESS;
28 const EventContext& ctx )
const {
39 ATH_MSG_ERROR(
"Did not find exactly one decision object in decision container containing " <<
decisions.size() <<
" decisions");
40 return StatusCode::FAILURE;
46 if(!leadingjetlink.
link.isValid()) {
47 ATH_MSG_ERROR(
"Received invalid jet link from decision object! " << leadingjetlink.
link);
48 return StatusCode::FAILURE;
52 ATH_MSG_DEBUG(
"Found " << jetCont->
size() <<
" presel jets linked from decision object.");
55 std::unique_ptr<TrigRoiDescriptor> superRoI = std::make_unique<TrigRoiDescriptor>();
68 double jetEta{
jet->eta()}, jetPhi{
jet->phi()};
71 " eta=" <<
jet->eta() <<
72 " phi=" <<
jet->phi() );
76 ATH_MSG_DEBUG(
" ** Imposing Z constraint while building RoI" );
92 jetPhi, phiMinus, phiPlus,
97 jetPhi, phiMinus, phiPlus ) );
108 roisWriteHandle->
push_back(superRoI.release());
115 return StatusCode::SUCCESS;
ElementLink< T > link
Link to the feature.
T wrapToPi(T phi)
Wrap angle in radians to [-pi, pi].
void push_back(const IRoiDescriptor *roi)
add a RoiDescriptor
bool setObjectLink(const std::string &name, const ElementLink< CONTAINER > &link)
Set the link to an object.
::StatusCode StatusCode
StatusCode definition for legacy code.
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
SG::WriteHandle< CONT > createAndStoreNoAux(const SG::WriteHandleKey< CONT > &key, const EventContext &ctx=Gaudi::Hive::currentContext())
Creates and right away records the Container CONT with the key.
Class used to describe composite objects in the HLT.
Helper for azimuthal angle calculations.
value_type push_back(value_type pElem)
Add an element to the end of the collection.
Helper to keep a Decision object, ElementLink and ActiveState (with respect to some requested ChainGr...
void setComposite(bool b=true)
const std::string & roiString()
Athena::TPCnvVers::Current TrigRoiDescriptor
bool manageConstituents() const
always manage constituents ???
size_type size() const noexcept
Returns the number of elements in the collection.