14#ifndef TRIGT1INTERFACES_RECEMTAUROI_H
15#define TRIGT1INTERFACES_RECEMTAUROI_H
51 const std::vector< TrigConf::TriggerThreshold* >* caloThresholds );
66 virtual unsigned int roiWord()
const;
69 virtual double phi()
const;
72 virtual double eta()
const;
75 virtual unsigned int crate()
const;
78 virtual unsigned int module()
const;
81 virtual unsigned int fpga()
const;
87 virtual unsigned int et()
const;
116 unsigned int emIsolation(
unsigned int thresh )
const;
119 unsigned int hadIsolation(
unsigned int thresh )
const ;
161 void constructRun1(
const std::vector< TrigConf::TriggerThreshold* >* caloThresholds );
163 void constructRun2(
const std::vector< TrigConf::TriggerThreshold* >* caloThresholds );
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
An STL vector of pointers that by default owns its pointed-to elements.
A level 1 calorimeter trigger conversion service: returns the Coordinate represented by a RoI word.
CoordinateRange class declaration.
This class defines the reconstructed em/tau hadron ROI.
virtual unsigned int isolation() const
returns roi isolation results (Run 2 only)
virtual double eta() const
returns eta coord of ROI
unsigned long int m_roiWord
this is the actual format of the data sent from the LVL1 hardware.
virtual TrigT1CaloDefs::RoIType roiType() const
returns roi type (EM = TrigT1CaloDefs::EMRoIWordType, Tau = TrigT1CaloDefs::TauRoIWordType,...
CoordinateRange m_coordRange
this contains the coordinate range worked out from the RoIWord hardware coord (i.e.
void constructRun3(const TrigConf::L1Menu *const l1menu)
TrigT1CaloDefs::ClusterAlgorithm thresholdType(unsigned int thresh) const
returns the type of the threshold, which is either EMAlg or TauAlg.
void constructRun2(const std::vector< TrigConf::TriggerThreshold * > *caloThresholds)
Content of RoI word different in Run 2.
unsigned int hadIsolation(unsigned int thresh) const
returns the value of the hadronic layer isolation ring for the threshold passed.
void constructRun1(const std::vector< TrigConf::TriggerThreshold * > *caloThresholds)
The "construct" call unpacks the RoIWord and copies information about the passed thresholds from the ...
std::map< int, unsigned int > m_hadIsolation
virtual unsigned int et() const
returns roi ET (Run 2 only)
virtual unsigned int crate() const
returns CP crate number
std::map< int, unsigned int > m_emIsolation
unsigned int triggerThreshold(unsigned int thresh) const
returns the value of the trigger threshold for the threshold passed.
std::map< int, TrigT1CaloDefs::ClusterAlgorithm > m_thresholdType
virtual unsigned int roiWord() const
returns roi word
std::map< int, unsigned int > m_hadCoreIsolation
unsigned int hadCoreIsolation(unsigned int thresh) const
returns the value of the hadronic layer core isolation for the threshold passed.
unsigned long int m_thresholdMask
bool isValidThreshold(unsigned int thresh) const
returns true if thresh is a valid threshold number
unsigned int isolationMask(unsigned int thresh) const
returns the isolation bits required for the threshold passed (Run 2)
virtual unsigned int fpga() const
returns FPGA number
CPRoIDecoder * m_decoder
Used for decoding RoI word.
unsigned int thresholdPattern() const
returns bitmask of passed thresholds
TrigT1CaloDefs::RoIType m_type
Stored properties of the RoI:
bool passedThreshold(unsigned int threshold_number) const
returns TRUE if threshold number threshold_number has been passed by this ROI.
virtual double phi() const
returns phi coord of ROI
virtual unsigned int localcoord() const
returns local coordinate within FPGA
std::vector< unsigned int > * thresholdsPassed() const
returns a vector of thresholds passed.
std::map< int, unsigned int > m_triggerThresholdValue
std::map< int, unsigned int > m_isolationMask
RecEmTauRoI & operator=(const RecEmTauRoI &obj)
unsigned int emIsolation(unsigned int thresh) const
returns the value of the em isolation ring for the threshold passed.
const CoordinateRange & coord() const
returns the CoordinateRange.
virtual unsigned int module() const
returns CPM number
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Forward iterator to traverse the main components of the trigger configuration.