|
ATLAS Offline Software
|
Go to the documentation of this file.
40 if( ( roi & 0xc0000000 ) == 0 ) {
42 }
else if( ( roi & 0xf0000000 ) == 0xa0000000 ) {
44 }
else if( ( roi & 0xf0000000 ) == 0xb0000000 ) {
48 throw std::runtime_error(
"xAOD::EmTauRoI_v2::roiType() "
49 "Unknown RoI word type found" );
50 return static_cast< RoIType >( -1 );
75 if ( roiType() == EMRoIWord || roiType() == TauRoIWord ) {
76 if (etScale() == 0)
return (
roiWord() & 0xff );
77 return ( (
roiWord() & 0xff)*etScale() );
85 return ( (
roiWord()>>8) & 0x1f );
101 names( *this ).push_back(
name );
102 values( *this ).push_back(
value );
112 names( *this ).clear();
113 values( *this ).clear();
AUXSTORE_PRIMITIVE_SETTER_AND_GETTER(BTagging_v1, float, IP2D_pb, setIP2D_pb) AUXSTORE_PRIMITIVE_SETTER_AND_GETTER(BTagging_v1
void setEta(float v)
Set the pseudorapidity of the em/tau candidate.
float phi() const
The azimuthal angle ( ) of the em/tau candidate.
Helper class to provide type-safe access to aux data.
void clearThresholds()
Remove all the passed thresholds from the RoI.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
void initialize(uint32_t roiword, float eta, float phi)
Initialise the object with its most important properties.
void addThreshold(const std::string &name, float value)
Add a new threshold that was passed by the RoI.
void setRoIWord(uint32_t value)
Set the "raw" RoI word, describing the em/tau candidate.
Amg::RotationMatrix3D setPhi(Amg::RotationMatrix3D mat, double angle, int convention=0)
float eT(const U &p)
Accessor utility function for getting the value of Tranverse energy.
Class describing a LVL1 em/tau region of interest.
@ TauRoIWord
This is a Run 2 Tau RoI word.
EmTauRoI_v2()
Default constructor.
uint8_t isol() const
The isolation result mask (from RoI word)
@ CPRoIWord
This is a Run 1 EM/Tau RoI word.
float eta() const
The pseudorapidity ( ) of the em/tau candidate.
@ EMRoIWord
This is a Run 2 EM RoI word.
AUXSTORE_OBJECT_GETTER(TrigComposite_v1, std::vector< std::string >, linkColNames) AUXSTORE_OBJECT_GETTER(TrigComposite_v1
void setPhi(float v)
Set the azimuthal angle of the em/tau candidate.
uint32_t roiWord() const
The "raw" RoI word describing the em/tau candidate.
RoIType roiType() const
Get the type of the RoI word.