diff --git a/Trigger/TrigSteer/ViewAlgs/src/EventViewCreatorAlgorithmForBjet.cxx b/Trigger/TrigSteer/ViewAlgs/src/EventViewCreatorAlgorithmWithJets.cxx similarity index 93% rename from Trigger/TrigSteer/ViewAlgs/src/EventViewCreatorAlgorithmForBjet.cxx rename to Trigger/TrigSteer/ViewAlgs/src/EventViewCreatorAlgorithmWithJets.cxx index 18937047063858d37df22b5f17c2437308c97dc0..1406d3f89c801dde045aed7fd5a583d4e77e276f 100644 --- a/Trigger/TrigSteer/ViewAlgs/src/EventViewCreatorAlgorithmForBjet.cxx +++ b/Trigger/TrigSteer/ViewAlgs/src/EventViewCreatorAlgorithmWithJets.cxx @@ -4,7 +4,7 @@ Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration */ -#include "EventViewCreatorAlgorithmForBjet.h" +#include "EventViewCreatorAlgorithmWithJets.h" #include "AthLinks/ElementLink.h" #include "AthViews/ViewHelper.h" #include "AthViews/View.h" @@ -12,12 +12,12 @@ #include "DecisionHandling/HLTIdentifier.h" -EventViewCreatorAlgorithmForBjet::EventViewCreatorAlgorithmForBjet( const std::string& name, ISvcLocator* pSvcLocator ) +EventViewCreatorAlgorithmWithJets::EventViewCreatorAlgorithmWithJets( const std::string& name, ISvcLocator* pSvcLocator ) : EventViewCreatorAlgorithm( name, pSvcLocator ) {} -EventViewCreatorAlgorithmForBjet::~EventViewCreatorAlgorithmForBjet() {} +EventViewCreatorAlgorithmWithJets::~EventViewCreatorAlgorithmWithJets() {} -StatusCode EventViewCreatorAlgorithmForBjet::initialize() { +StatusCode EventViewCreatorAlgorithmWithJets::initialize() { EventViewCreatorAlgorithm::initialize(); ATH_CHECK( m_inViewJets.initialize() ); @@ -25,7 +25,7 @@ StatusCode EventViewCreatorAlgorithmForBjet::initialize() { return StatusCode::SUCCESS; } -StatusCode EventViewCreatorAlgorithmForBjet::execute_r( const EventContext& context ) const { +StatusCode EventViewCreatorAlgorithmWithJets::execute_r( const EventContext& context ) const { auto outputHandles = decisionOutputs().makeHandles( context ); // make the views auto viewVector = std::make_unique< ViewContainer >(); @@ -156,7 +156,7 @@ StatusCode EventViewCreatorAlgorithmForBjet::execute_r( const EventContext& cont return StatusCode::SUCCESS; } -StatusCode EventViewCreatorAlgorithmForBjet::placeJetInView( const xAOD::Jet* theObject, SG::View* view, const EventContext& context ) const { +StatusCode EventViewCreatorAlgorithmWithJets::placeJetInView( const xAOD::Jet* theObject, SG::View* view, const EventContext& context ) const { // fill the Jet output collection ATH_MSG_DEBUG( "Adding Jet To View : " << m_inViewJets.key() ); auto oneObjectCollection = std::make_unique< ConstDataVector< xAOD::JetContainer > >(); diff --git a/Trigger/TrigSteer/ViewAlgs/src/EventViewCreatorAlgorithmForBjet.h b/Trigger/TrigSteer/ViewAlgs/src/EventViewCreatorAlgorithmWithJets.h similarity index 71% rename from Trigger/TrigSteer/ViewAlgs/src/EventViewCreatorAlgorithmForBjet.h rename to Trigger/TrigSteer/ViewAlgs/src/EventViewCreatorAlgorithmWithJets.h index f8b10daa256ab721163e998f7f404cd1c23aa78a..ff84d82709d468fccd032bdf2fdb76aaa2d09b2f 100644 --- a/Trigger/TrigSteer/ViewAlgs/src/EventViewCreatorAlgorithmForBjet.h +++ b/Trigger/TrigSteer/ViewAlgs/src/EventViewCreatorAlgorithmWithJets.h @@ -2,8 +2,8 @@ Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration */ -#ifndef ViewAlgs_EventViewCreatorAlgorithmForBjet_h -#define ViewAlgs_EventViewCreatorAlgorithmForBjet_h +#ifndef ViewAlgs_EventViewCreatorAlgorithmWithJets_h +#define ViewAlgs_EventViewCreatorAlgorithmWithJets_h #include "EventViewCreatorAlgorithm.h" @@ -11,14 +11,14 @@ #include "xAODJet/JetAuxContainer.h" /** - * @class EventViewCreatorAlgorithmForBjet + * @class EventViewCreatorAlgorithmWithJets * @brief Used at the start of a sequence to create the EventViews: retrieves filtered collection via menu decision from previous step and writes it out directly so it can be used as input by the reco alg that follows in sequence. **/ -class EventViewCreatorAlgorithmForBjet : public EventViewCreatorAlgorithm { +class EventViewCreatorAlgorithmWithJets : public EventViewCreatorAlgorithm { public: - EventViewCreatorAlgorithmForBjet( const std::string& name, ISvcLocator* pSvcLocator ); - virtual ~EventViewCreatorAlgorithmForBjet(); + EventViewCreatorAlgorithmWithJets( const std::string& name, ISvcLocator* pSvcLocator ); + virtual ~EventViewCreatorAlgorithmWithJets(); virtual StatusCode initialize() override; virtual StatusCode execute_r(const EventContext&) const override; @@ -29,7 +29,7 @@ class EventViewCreatorAlgorithmForBjet : public EventViewCreatorAlgorithm { SG::View* view, const EventContext& context ) const; - EventViewCreatorAlgorithmForBjet(); + EventViewCreatorAlgorithmWithJets(); SG::WriteHandleKey< ConstDataVector<xAOD::JetContainer> > m_inViewJets {this,"InViewJets","Unspecified","Name with which the Jets should be inserted into the views"}; diff --git a/Trigger/TrigSteer/ViewAlgs/src/components/ViewAlgs_entries.cxx b/Trigger/TrigSteer/ViewAlgs/src/components/ViewAlgs_entries.cxx index c89a4a07087e3bea949c74481152686cdf3d035a..ba298d3a4cb8a2697bcc8ea1f1bac654968dd0e9 100644 --- a/Trigger/TrigSteer/ViewAlgs/src/components/ViewAlgs_entries.cxx +++ b/Trigger/TrigSteer/ViewAlgs/src/components/ViewAlgs_entries.cxx @@ -1,12 +1,12 @@ #include "../EventViewCreatorAlgorithm.h" -#include "../EventViewCreatorAlgorithmForBjet.h" +#include "../EventViewCreatorAlgorithmWithJets.h" #include "../MergeViews.h" DECLARE_COMPONENT( EventViewCreatorAlgorithm ) -DECLARE_COMPONENT( EventViewCreatorAlgorithmForBjet ) +DECLARE_COMPONENT( EventViewCreatorAlgorithmWithJets ) DECLARE_COMPONENT( MergeViews ) diff --git a/Trigger/TrigValidation/TrigUpgradeTest/python/bjetMenuDefs.py b/Trigger/TrigValidation/TrigUpgradeTest/python/bjetMenuDefs.py index 5929e602ae432fec3484c4dcbecb468dd205ddb1..1e9b7244cdf691c6578150e91f964b643a837e7c 100644 --- a/Trigger/TrigValidation/TrigUpgradeTest/python/bjetMenuDefs.py +++ b/Trigger/TrigValidation/TrigUpgradeTest/python/bjetMenuDefs.py @@ -201,8 +201,8 @@ def bJetStep2Sequence(): from TriggerMenuMT.HLTMenuConfig.Menu.MenuComponents import MenuSequence # Event View Creator Algorithm - from ViewAlgs.ViewAlgsConf import EventViewCreatorAlgorithmForBjet - InputMakerAlg = EventViewCreatorAlgorithmForBjet("BJetInputMaker_step2") + from ViewAlgs.ViewAlgsConf import EventViewCreatorAlgorithmWithJets + InputMakerAlg = EventViewCreatorAlgorithmWithJets("BJetInputMaker_step2") InputMakerAlg.OutputLevel = DEBUG InputMakerAlg.ViewFallThrough = True # Access Store Gate for retrieving data InputMakerAlg.ViewPerRoI = True # If True it creates one view per RoI