15 log << MSG::DEBUG <<
"TrigRoiDescriptorCnv_p3::persToTrans called " <<
endmsg;
19 double zed = persObj->
geom[
ZED] ;
41 if ( std::isnan(phiPlus) ) {
42 log << MSG::WARNING <<
"TrigRoiDescriptorCnv_p3::persToTrans: remapping nan for phiPlus " <<
endmsg;
46 if ( std::isnan(phiMinus) ) {
47 log << MSG::WARNING <<
"TrigRoiDescriptorCnv_p3::persToTrans: remapping nan for phiMinus " <<
endmsg;
51 if ( std::isnan(etaPlus) ) {
52 log << MSG::WARNING <<
"TrigRoiDescriptorCnv_p3::persToTrans: remapping nan for etaPlus " <<
endmsg;
56 if ( std::isnan(etaMinus) ) {
57 log << MSG::WARNING <<
"TrigRoiDescriptorCnv_p3::persToTrans: remapping nan for etaMinus " <<
endmsg;
61 if ( std::isnan(zedPlus) ) {
62 log << MSG::WARNING <<
"TrigRoiDescriptorCnv_p3::persToTrans: remapping nan for zedPlus " <<
endmsg;
66 if ( std::isnan(zedMinus) ) {
67 log << MSG::WARNING <<
"TrigRoiDescriptorCnv_p3::persToTrans: remapping nan for zedMinus " <<
endmsg;
74 eta, etaMinus, etaPlus,
75 phi, phiMinus, phiPlus,
76 zed, zedMinus, zedPlus );
80 if ( persObj->
rois.size()>0 ) {
84 for (
const std::vector<float>& roi : persObj->
rois) {
98 log << MSG::DEBUG <<
"TrigRoiDescriptorCnv_p3::transToPers called " <<
endmsg;
116 if ( transObj->
size()>0 ) {
118 persObj->
rois.reserve(transObj->
size());
120 for (
unsigned i=0 ; i<transObj->
size() ; i++ ) {
122 std::vector<float> roi(9);
139 persObj->
rois.push_back( std::move(roi) );
Scalar eta() const
pseudorapidity method
Scalar phi() const
phi method
Athena::TPCnvVers::Current TrigRoiDescriptor
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 double etaMinus() const override final
gets eta at zMinus
void push_back(const IRoiDescriptor *roi)
add a RoiDescriptor
bool manageConstituents() const
always manage constituents ???
virtual double etaPlus() const override final
gets eta at zedPlus
virtual double zed() const override final
virtual bool isFullscan() const override final
is this a full scan RoI?
virtual double phi() const override final
Methods to retrieve data members.
virtual double phiMinus() const override final
gets phiMinus
virtual double zedPlus() const override final
z at the most forward end of the RoI
virtual double zedMinus() const override final
z at the most backward end of the RoI
virtual const IRoiDescriptor * at(int i) const override final
find an RoiDescriptor constituent
bool m_fullscan
flag this as a full detector RoI
virtual unsigned size() const override final
number of constituents
virtual double eta() const override final
virtual double phiPlus() const override final
gets phiPlus
virtual void transToPers(const TrigRoiDescriptor *transObj, TrigRoiDescriptor_p3 *persObj, MsgStream &log)
virtual void persToTrans(const TrigRoiDescriptor_p3 *persObj, TrigRoiDescriptor *transObj, MsgStream &log)
std::vector< std::vector< float > > rois
nope - should be used for standalone also, perhaps need to protect the class def bits ifndef XAOD_ANA...
virtual unsigned int roiWord() const override final
virtual unsigned int roiId() const override final
these quantities probably don't need to be used any more