39 return StatusCode::SUCCESS;
52 if (
sc.isFailure() || !ttCollection) {
54 return StatusCode::SUCCESS;
55 }
else ATH_MSG_DEBUG(
"TriggerTowerCollection retrieved from StoreGate, size: "<< ttCollection->
size() );
65 for(;pos!=pos_end;++pos) {
74 outputTTCollection->
push_back(selectedTriggerTower);
82 return StatusCode::SUCCESS;
85 return StatusCode::SUCCESS;
93 return StatusCode::SUCCESS;
Scalar eta() const
pseudorapidity method
Scalar phi() const
phi method
DataVector< LVL1::TriggerTower > TriggerTowerCollection
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
ServiceHandle< StoreGateSvc > & evtStore()
DataModel_detail::const_iterator< DataVector > const_iterator
value_type push_back(value_type pElem)
Add an element to the end of the collection.
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.
size_type size() const noexcept
Returns the number of elements in the collection.
std::string m_inputTriggerTowerLocation
std::vector< double > m_vEtaSelectionRange
bool isSelected(double eta, double phi)
virtual StatusCode initialize()
virtual ~L1CaloTriggerTowerSelector()
virtual StatusCode finalize()
std::string m_outputTriggerTowerLocation
std::vector< double > m_vPhiSelectionRange
LVL1::TriggerTowerKey * m_towerKey
L1CaloTriggerTowerSelector(const std::string &name, ISvcLocator *pSvcLocator)
virtual StatusCode execute()
The TriggerTowerKey object provides the key for each trigger tower depending on its eta-phi coords.
Trigger towers are the inputs to all other parts of the calorimeter trigger.
double phi() const
returns phi coord of tower
double eta() const
returns eta coord