28 return StatusCode::SUCCESS;
37 uint32_t bitmap = beamSpotHandle->beamStatus();
40 if ( ( (bitmap & 0x7) == 0x7 ) || !(bitmap & 0x4) ) {
41 double zsigma = beamSpotHandle->beamSigma(2);
42 double zpos = beamSpotHandle->beamPos()[2];
45 zedMinus = zpos - nsigma*zsigma - fence;
46 zedPlus = zpos + nsigma*zsigma + fence;
71 if ( !
m_update )
return std::make_unique<TrigRoiDescriptor>( *iroi );
78 ATH_MSG_WARNING(
"Will not update composite Roi parameters: " << *iroi );
79 return std::make_unique<TrigRoiDescriptor>( *iroi );
84 double etaPlus = iroi->
etaPlus();
88 double phiPlus = iroi->
phiPlus();
90 double zed = iroi->
zed();
92 double zedPlus = iroi->
zedPlus();
124 return std::make_unique<TrigRoiDescriptor>(
eta, etaMinus, etaPlus,
phi, phiMinus, phiPlus, zed, zedMinus, zedPlus );
Scalar eta() const
pseudorapidity method
Scalar phi() const
phi method
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_WARNING(x)
Describes the API of the Region of Ineterest geometry.
virtual double eta() const =0
virtual double phiPlus() const =0
extreme phi values
virtual double zedPlus() const =0
the zed and eta values at the most forward and most rear ends of the RoI
virtual double phiMinus() const =0
virtual double phi() const =0
Methods to retrieve data members.
virtual double zedMinus() const =0
virtual double zed() const =0
virtual double etaMinus() const =0
virtual double etaPlus() const =0
virtual bool composite() const =0
Super RoI access methods.
Describes the Region of Ineterest geometry It has basically 9 parameters.
static double zedWidthDefault()
static constexpr bool FULLSCAN
convenient