ATLAS Offline Software
Namespaces | Functions
DecisionUnpackerEventInfo.cxx File Reference
#include "TrigSteeringEvent/Lvl1Result.h"
#include "StoreGate/StoreGateSvc.h"
#include "TrigNavStructure/TrigNavStructure.h"
#include "TrigDecisionTool/DecisionUnpackerEventInfo.h"
#include "EventInfo/TriggerInfo.h"
#include "TrigNavigation/NavigationCore.h"
Include dependency graph for DecisionUnpackerEventInfo.cxx:

Go to the source code of this file.

Namespaces

 Trig
 The common trigger namespace for trigger analysis tools.
 

Functions

bool get32BitDecision (unsigned int index, const std::vector< uint32_t > &vec)
 

Function Documentation

◆ get32BitDecision()

bool get32BitDecision ( unsigned int  index,
const std::vector< uint32_t > &  vec 
)

Definition at line 20 of file DecisionUnpackerEventInfo.cxx.

21  {
22 
23  if( index >= vec.size() * 32 ) {
24  return 0;
25  }
26  uint32_t word = vec[ index / 32 ];
27  return ( ( ( word >> ( index % 32 ) ) & 0x1 ) != 0 );
28 }
plotBeamSpotCompare.x1
x1
Definition: plotBeamSpotCompare.py:216
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
index
Definition: index.py:1
vec
std::vector< size_t > vec
Definition: CombinationsGeneratorTest.cxx:12