|
ATLAS Offline Software
|
Go to the documentation of this file.
21 #define M_2PI 6.283185307179586476925286766559005768394
34 if ( teta<0 ) zexit = -
maxZed;
35 else if ( teta>0 ) zexit =
maxZed;
46 rexit = (zexit-tz0) * tantheta;
65 : m_fullscan(fullscan),
66 m_l1Id(0), m_roiId(0), m_roiWord(0),
82 double phi,
double phiMinus,
double phiPlus,
83 double zed,
double zedMinus,
double zedPlus )
84 : m_params(
eta, etaMinus, etaPlus,
85 phi, phiMinus, phiPlus,
86 zed, zedMinus, zedPlus ),
88 m_l1Id(0), m_roiId(0), m_roiWord(0)
98 double eta,
double etaMinus,
double etaPlus,
99 double phi,
double phiMinus,
double phiPlus,
100 double zed,
double zedMinus,
double zedPlus )
101 : m_params(
eta, etaMinus, etaPlus,
102 phi, phiMinus, phiPlus,
103 zed, zedMinus, zedPlus ),
105 m_l1Id(l1id), m_roiId(
id), m_roiWord(0)
115 double eta,
double etaMinus,
double etaPlus,
116 double phi,
double phiMinus,
double phiPlus,
117 double zed,
double zedMinus,
double zedPlus )
118 : m_params(
eta, etaMinus, etaPlus,
119 phi, phiMinus, phiPlus,
120 zed, zedMinus, zedPlus ),
122 m_l1Id(l1id), m_roiId(
id), m_roiWord(roiword)
133 m_params(
a.m_params),
134 m_fullscan(
a.m_fullscan),
135 m_l1Id(
a.m_l1Id), m_roiId(
a.m_roiId), m_roiWord(
a.m_roiWord),
146 TObject::operator= (
a);
163 TIDARoiDescriptor::operator std::string()
const {
165 s <<
" z: " << zed() <<
" (" << zedMinus() <<
" - " << zedPlus() <<
")"
166 <<
" eta: " <<
eta() <<
" (" << etaMinus() <<
" - " << etaPlus() <<
")"
167 <<
" phi: " <<
phi() <<
" (" << phiMinus() <<
" - " << phiPlus() <<
")";
168 if ( m_fullscan )
s <<
" (fullscan)";
169 s <<
" RoIid: " <<
roiId() <<
" RoIword: " <<
roiWord() <<
" (size " <<
size() <<
")";
170 for (
unsigned i=0 ;
i<
size() ;
i++ )
s <<
"\n\t\t" <<
i <<
": " << (std::string)*at(
i);
177 if ( !(
phi > -M_PIF &&
phi < M_PIF ) ) {
188 if ( !(
eta > -100 &&
eta < 100) ) {
189 std::cerr <<
"TIDARoiDescriptor constructed with eta outside range -100 < eta <100 EtaRange" << std::endl;
196 if ( !(
zed > -100000 &&
zed < 100000 ) ) {
197 std::cerr <<
"TIDARoiDescriptor constructed with eta outside range -100000 < sed <100000 ZedRange" << std::endl;
Scalar phi() const
phi method
static const double maxRadius
std::vector< TIDARoiDescriptor > m_rois
Scalar eta() const
pseudorapidity method
double zedcheck(double zed)
helper function to check if zed range was violated
double m_zedMinusR
don't save - transient zPlus at radius R
double m_rMinusZed
don't save - transient zPlus at radius R
static double exitpoint(double tz0, double teta, double &zexit, double &rexit)
Describes the Region of Ineterest geometry It has basically 8 parameters.
static const double maxZed
don't save
double m_rPlusZed
don't save - transient zMinus at radius R
setTeId setLumiBlock roiId
double m_tanthetaMinus
don't save - transient roi edge gradients
TIDARoiParameters m_params
don't save
ClassImp(TIDARoiDescriptor) static const float M_PIF
double m_zedPlusR
cached value -
virtual ~TIDARoiDescriptor()
TIDARoiDescriptor & operator=(const TIDARoiDescriptor &r)
assignment
double etacheck(double eta)
helper function to check if eta range was violated
double phicheck(double phi)
helper function to check if phi range was violated
TIDARoiDescriptor(bool fullscan=false)
default constructor
double m_tanthetaPlus
don't save - transient zMinus at radius R