ATLAS Offline Software
|
#include <TgcCoinData.h>
Public Types | |
enum | CoinDataType { TYPE_TRACKLET, TYPE_HIPT, TYPE_SL, TYPE_UNKNOWN, TYPE_TRACKLET_EIFI } |
Public Member Functions | |
TgcCoinData () | |
Public, Copy, operator=, constructor. More... | |
TgcCoinData (const TgcCoinData &) | |
TgcCoinData & | operator= (const TgcCoinData &) |
TgcCoinData (const Identifier &channelIdIn, const Identifier &channelIdOut, const IdentifierHash &collectionIdHash, const MuonGM::TgcReadoutElement *detElIn, const MuonGM::TgcReadoutElement *detElOut, const CoinDataType type, const bool isAside, const int phi, const bool isInner, const bool isForward, const bool isStrip, const int trackletId, const Amg::Vector2D *posIn, const Amg::Vector2D *posOut, const double widthIn, const double widthOut, const int delta, const int sub, const int inner, const int roi=0, const int pt=0, const int trackletIdStrip=0, const Amg::MatrixX *errMat=nullptr, const bool isPositiveDeltaR=false, const bool veto=false) | |
Constructor: More... | |
TgcCoinData (const Identifier &channelIdIn, const IdentifierHash &collectionIdHash, const MuonGM::TgcReadoutElement *detElIn, const CoinDataType type, const bool isAside, const int phi, const bool isForward, const bool isStrip, const Amg::Vector2D *posIn, const double widthIn, const int sub) | |
TgcCoinData (const Identifier &channelIdOut, const IdentifierHash &collectionIdHash, const MuonGM::TgcReadoutElement *detElOut, const CoinDataType type, const bool isAside, const int phi, const bool isForward, const int trackletId, const int trackletIdStrip, const Amg::Vector2D *posOut, const Amg::MatrixX *errMat, const int roi, const int pt, const bool veto, const bool isPositiveDeltaR) | |
~TgcCoinData () | |
Destructor: More... | |
Identifier | identify () const |
return OfflineID of Outer Hit More... | |
IdentifierHash | identifyHash () const |
return the identifierHash of Outer Hit More... | |
void | setIdentifier (Identifier in, Identifier out) |
set the OfflineID of Inner and Outer Hits More... | |
void | setHashAndIndex (unsigned short collHash, unsigned short objIndex) |
void | setHashAndIndex (unsigned int indexAndHash) |
const IdentContIndex & | getHashAndIndex () const |
Identifier | channelIdIn () const |
return offlineID on TGC1(HIPT) or TGC2(TRACKLET) More... | |
Identifier | channelIdOut () const |
return offlineID on track on TGC3 More... | |
CoinDataType | type () const |
return the coincidence type (HIPT, LPT, SL) More... | |
bool | isAside () const |
Aside or Cside. More... | |
int | phi () const |
return phi number of trigger sector More... | |
bool | isInner () const |
Inner layers or BW. More... | |
bool | isForward () const |
Forward region or Endcap region. More... | |
bool | isStrip () const |
Strip hit or Wire hit? More... | |
int | trackletId () const |
return trackletId (Identifier for each track) More... | |
int | trackletIdStrip () const |
return trackletId for strip (Identifier for each track) More... | |
const Amg::Vector2D & | posIn () const |
return Local position of track on TGC1(HIPT) or TGC2(TRACKLET) More... | |
const Amg::Vector2D * | posInPtr () const |
const Amg::Vector2D & | posOut () const |
return Local position of track on TGC3 More... | |
const Amg::Vector2D * | posOutPtr () const |
bool | hasErrMat () const |
Test to see if the error matrix is present. More... | |
const Amg::MatrixX & | errMat () const |
return 2d width of ROI for SL: errMat[0][0]==(width for R), errMat[1][1]==(width for phi) More... | |
double | widthIn () const |
return region width of hit on TGC1 More... | |
double | widthOut () const |
return region width of hit on TGC2(TRACKLET) or TGC3(HIPT) More... | |
int | delta () const |
return the deviation from Pt=oo track More... | |
int | roi () const |
return ROI number More... | |
int | pt () const |
return pt threshold value More... | |
bool | veto () const |
return veto bit More... | |
int | sub () const |
return subMatrix of Tracklet or hsub of HiPt More... | |
int | inner () const |
return InnerCoincidecne trigger bits More... | |
bool | isPositiveDeltaR () const |
return isPositiveDeltaR (isMuplus) of SL More... | |
const MuonGM::TgcReadoutElement * | detectorElementIn () const |
return TgcReadoutElement of track on TGC1(HIPT) or TGC2(TRACKLET) More... | |
const MuonGM::TgcReadoutElement * | detectorElementOut () const |
return TgcReadoutElement of track on TGC3 More... | |
const Amg::Vector3D & | globalposIn () const |
return global position of track on TGC1(HIPT) or TGC2(TRACKLET) More... | |
const Amg::Vector3D & | globalposOut () const |
return global position of track on TGC3 More... | |
Static Public Attributes | |
static constexpr uint32_t | INNER_NSW_R_BITSHIFT = 0 |
Bit info in int inner for the NSW inner-coincidence. More... | |
static constexpr uint32_t | INNER_NSW_R_BIT = 0xFF |
static constexpr uint32_t | INNER_NSW_PHI_BITSHIFT = 8 |
static constexpr uint32_t | INNER_NSW_PHI_BIT = 0x3F |
static constexpr uint32_t | INNER_NSW_DTHETA_BITSHIFT = 14 |
static constexpr uint32_t | INNER_NSW_DTHETA_BIT = 0x1F |
static constexpr uint32_t | INNER_NSW_PHIRES_BITSHIFT = 19 |
static constexpr uint32_t | INNER_NSW_PHIRES_BIT = 0x1 |
static constexpr uint32_t | INNER_NSW_LOWRES_BITSHIFT = 20 |
static constexpr uint32_t | INNER_NSW_LOWRES_BIT = 0x1 |
static constexpr uint32_t | INNER_NSW_ID_BITSHIFT = 21 |
static constexpr uint32_t | INNER_NSW_ID_BIT = 0xF |
static constexpr uint32_t | INNER_NSW_BCID_BITSHIFT = 25 |
static constexpr uint32_t | INNER_NSW_BCID_BIT = 0xF |
static constexpr uint32_t | INNER_NSW_INPUT_BITSHIFT = 29 |
static constexpr uint32_t | INNER_NSW_INPUT_BIT = 0x7 |
static constexpr uint32_t | INNER_RPC_ETA_BITSHIFT = 0 |
Bit info in int inner for the RPC inner-coincidence. More... | |
static constexpr uint32_t | INNER_RPC_ETA_BIT = 0x3F |
static constexpr uint32_t | INNER_RPC_PHI_BITSHIFT = 6 |
static constexpr uint32_t | INNER_RPC_PHI_BIT = 0x3F |
static constexpr uint32_t | INNER_RPC_DETA_BITSHIFT = 12 |
static constexpr uint32_t | INNER_RPC_DETA_BIT = 0x7 |
static constexpr uint32_t | INNER_RPC_DPHI_BITSHIFT = 15 |
static constexpr uint32_t | INNER_RPC_DPHI_BIT = 0x7 |
static constexpr uint32_t | INNER_RPC_FLAG_BITSHIFT = 18 |
static constexpr uint32_t | INNER_RPC_FLAG_BIT = 0x3 |
static constexpr uint32_t | INNER_RPC_BCID_BITSHIFT = 20 |
static constexpr uint32_t | INNER_RPC_BCID_BIT = 0xF |
static constexpr uint32_t | INNER_EIFI_EI_BITSHIFT = 0 |
Bit info in int inner for the EI/FI inner-coincidence. More... | |
static constexpr uint32_t | INNER_EIFI_EI_BIT = 0xFF |
static constexpr uint32_t | INNER_EIFI_FI_BITSHIFT = 8 |
static constexpr uint32_t | INNER_EIFI_FI_BIT = 0xFF |
static constexpr uint32_t | INNER_EIFI_CID_BITSHIFT = 16 |
static constexpr uint32_t | INNER_EIFI_CID_BIT = 0x7 |
static constexpr uint32_t | INNER_TILE_MODULE_BITSHIFT = 0 |
Bit info in int inner for the Tile inner-coincidence. More... | |
static constexpr uint32_t | INNER_TILE_MODULE_BIT = 0xFFF |
static constexpr uint32_t | INNER_TILE_BCID_BITSHIFT = 12 |
static constexpr uint32_t | INNER_TILE_BCID_BIT = 0xF |
Private Attributes | |
Identifier | m_channelIdIn |
Identifier | m_channelIdOut |
IdentifierHash | m_collectionIdHash |
IdentContIndex | m_indexAndHash |
const MuonGM::TgcReadoutElement * | m_detElIn |
const MuonGM::TgcReadoutElement * | m_detElOut |
CoinDataType | m_type |
bool | m_isAside |
int | m_phi |
bool | m_isInner |
bool | m_isForward |
bool | m_isStrip |
int | m_trackletId |
int | m_trackletIdStrip |
const Amg::Vector2D * | m_posIn |
const Amg::Vector2D * | m_posOut |
const Amg::MatrixX * | m_errMat |
double | m_widthIn |
double | m_widthOut |
int | m_delta |
int | m_roi |
int | m_pt |
bool | m_veto |
int | m_sub |
int | m_inner |
bool | m_isPositiveDeltaR |
CxxUtils::CachedUniquePtr< const Amg::Vector3D > | m_globalposIn |
CxxUtils::CachedUniquePtr< const Amg::Vector3D > | m_globalposOut |
Friends | |
class | ::TgcCoinDataContainerCnv |
class | Muon::TgcCoinDataContainerCnv_p1 |
class | Muon::TgcCoinDataContainerCnv_p2 |
class | Muon::TgcCoinDataContainerCnv_p3 |
MsgStream & | operator<< (MsgStream &sl, const TgcCoinData &coin) |
Overload of << operator for MsgStream for debug output. More... | |
std::ostream & | operator<< (std::ostream &sl, const TgcCoinData &coin) |
Overload of << operator for std::ostream for debug output. More... | |
Definition at line 37 of file TgcCoinData.h.
Enumerator | |
---|---|
TYPE_TRACKLET | |
TYPE_HIPT | |
TYPE_SL | |
TYPE_UNKNOWN | |
TYPE_TRACKLET_EIFI |
Definition at line 49 of file TgcCoinData.h.
Muon::TgcCoinData::TgcCoinData | ( | ) |
Muon::TgcCoinData::TgcCoinData | ( | const TgcCoinData & | RIO | ) |
Definition at line 203 of file TgcCoinData.cxx.
Muon::TgcCoinData::TgcCoinData | ( | const Identifier & | channelIdIn, |
const Identifier & | channelIdOut, | ||
const IdentifierHash & | collectionIdHash, | ||
const MuonGM::TgcReadoutElement * | detElIn, | ||
const MuonGM::TgcReadoutElement * | detElOut, | ||
const CoinDataType | type, | ||
const bool | isAside, | ||
const int | phi, | ||
const bool | isInner, | ||
const bool | isForward, | ||
const bool | isStrip, | ||
const int | trackletId, | ||
const Amg::Vector2D * | posIn, | ||
const Amg::Vector2D * | posOut, | ||
const double | widthIn, | ||
const double | widthOut, | ||
const int | delta, | ||
const int | sub, | ||
const int | inner, | ||
const int | roi = 0 , |
||
const int | pt = 0 , |
||
const int | trackletIdStrip = 0 , |
||
const Amg::MatrixX * | errMat = nullptr , |
||
const bool | isPositiveDeltaR = false , |
||
const bool | veto = false |
||
) |
Muon::TgcCoinData::TgcCoinData | ( | const Identifier & | channelIdIn, |
const IdentifierHash & | collectionIdHash, | ||
const MuonGM::TgcReadoutElement * | detElIn, | ||
const CoinDataType | type, | ||
const bool | isAside, | ||
const int | phi, | ||
const bool | isForward, | ||
const bool | isStrip, | ||
const Amg::Vector2D * | posIn, | ||
const double | widthIn, | ||
const int | sub | ||
) |
Definition at line 75 of file TgcCoinData.cxx.
Muon::TgcCoinData::TgcCoinData | ( | const Identifier & | channelIdOut, |
const IdentifierHash & | collectionIdHash, | ||
const MuonGM::TgcReadoutElement * | detElOut, | ||
const CoinDataType | type, | ||
const bool | isAside, | ||
const int | phi, | ||
const bool | isForward, | ||
const int | trackletId, | ||
const int | trackletIdStrip, | ||
const Amg::Vector2D * | posOut, | ||
const Amg::MatrixX * | errMat, | ||
const int | roi, | ||
const int | pt, | ||
const bool | veto, | ||
const bool | isPositiveDeltaR | ||
) |
Definition at line 117 of file TgcCoinData.cxx.
Muon::TgcCoinData::~TgcCoinData | ( | ) |
|
inline |
|
inline |
|
inline |
|
inline |
return TgcReadoutElement of track on TGC1(HIPT) or TGC2(TRACKLET)
Definition at line 390 of file TgcCoinData.h.
|
inline |
return TgcReadoutElement of track on TGC3
Definition at line 395 of file TgcCoinData.h.
|
inline |
return 2d width of ROI for SL: errMat[0][0]==(width for R), errMat[1][1]==(width for phi)
Definition at line 370 of file TgcCoinData.h.
|
inline |
Definition at line 337 of file TgcCoinData.h.
|
inline |
return global position of track on TGC1(HIPT) or TGC2(TRACKLET)
Definition at line 400 of file TgcCoinData.h.
|
inline |
|
inline |
|
inline |
return OfflineID of Outer Hit
Definition at line 314 of file TgcCoinData.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
TgcCoinData & Muon::TgcCoinData::operator= | ( | const TgcCoinData & | RIO | ) |
Definition at line 238 of file TgcCoinData.cxx.
|
inline |
|
inline |
return Local position of track on TGC1(HIPT) or TGC2(TRACKLET)
Definition at line 362 of file TgcCoinData.h.
|
inline |
Definition at line 363 of file TgcCoinData.h.
|
inline |
|
inline |
Definition at line 366 of file TgcCoinData.h.
|
inline |
|
inline |
|
inline |
Definition at line 332 of file TgcCoinData.h.
|
inline |
Definition at line 326 of file TgcCoinData.h.
|
inline |
set the OfflineID of Inner and Outer Hits
Definition at line 321 of file TgcCoinData.h.
|
inline |
|
inline |
|
inline |
return trackletId for strip (Identifier for each track)
Definition at line 360 of file TgcCoinData.h.
|
inline |
|
inline |
|
inline |
|
inline |
return region width of hit on TGC2(TRACKLET) or TGC3(HIPT)
Definition at line 374 of file TgcCoinData.h.
|
friend |
Definition at line 44 of file TgcCoinData.h.
|
friend |
Definition at line 45 of file TgcCoinData.h.
|
friend |
Definition at line 46 of file TgcCoinData.h.
|
friend |
Definition at line 47 of file TgcCoinData.h.
|
friend |
Overload of << operator for MsgStream for debug output.
Definition at line 282 of file TgcCoinData.cxx.
|
friend |
Overload of << operator for std::ostream for debug output.
Definition at line 312 of file TgcCoinData.cxx.
|
staticconstexpr |
Definition at line 265 of file TgcCoinData.h.
|
staticconstexpr |
Definition at line 264 of file TgcCoinData.h.
|
staticconstexpr |
Definition at line 261 of file TgcCoinData.h.
|
staticconstexpr |
Bit info in int inner for the EI/FI inner-coincidence.
Definition at line 260 of file TgcCoinData.h.
|
staticconstexpr |
Definition at line 263 of file TgcCoinData.h.
|
staticconstexpr |
Definition at line 262 of file TgcCoinData.h.
|
staticconstexpr |
Definition at line 241 of file TgcCoinData.h.
|
staticconstexpr |
Definition at line 240 of file TgcCoinData.h.
|
staticconstexpr |
Definition at line 233 of file TgcCoinData.h.
|
staticconstexpr |
Definition at line 232 of file TgcCoinData.h.
|
staticconstexpr |
Definition at line 239 of file TgcCoinData.h.
|
staticconstexpr |
Definition at line 238 of file TgcCoinData.h.
|
staticconstexpr |
Definition at line 243 of file TgcCoinData.h.
|
staticconstexpr |
Definition at line 242 of file TgcCoinData.h.
|
staticconstexpr |
Definition at line 237 of file TgcCoinData.h.
|
staticconstexpr |
Definition at line 236 of file TgcCoinData.h.
|
staticconstexpr |
Definition at line 231 of file TgcCoinData.h.
|
staticconstexpr |
Definition at line 230 of file TgcCoinData.h.
|
staticconstexpr |
Definition at line 235 of file TgcCoinData.h.
|
staticconstexpr |
Definition at line 234 of file TgcCoinData.h.
|
staticconstexpr |
Definition at line 229 of file TgcCoinData.h.
|
staticconstexpr |
Bit info in int inner for the NSW inner-coincidence.
Definition at line 228 of file TgcCoinData.h.
|
staticconstexpr |
Definition at line 257 of file TgcCoinData.h.
|
staticconstexpr |
Definition at line 256 of file TgcCoinData.h.
|
staticconstexpr |
Definition at line 251 of file TgcCoinData.h.
|
staticconstexpr |
Definition at line 250 of file TgcCoinData.h.
|
staticconstexpr |
Definition at line 253 of file TgcCoinData.h.
|
staticconstexpr |
Definition at line 252 of file TgcCoinData.h.
|
staticconstexpr |
Definition at line 247 of file TgcCoinData.h.
|
staticconstexpr |
Bit info in int inner for the RPC inner-coincidence.
Definition at line 246 of file TgcCoinData.h.
|
staticconstexpr |
Definition at line 255 of file TgcCoinData.h.
|
staticconstexpr |
Definition at line 254 of file TgcCoinData.h.
|
staticconstexpr |
Definition at line 249 of file TgcCoinData.h.
|
staticconstexpr |
Definition at line 248 of file TgcCoinData.h.
|
staticconstexpr |
Definition at line 271 of file TgcCoinData.h.
|
staticconstexpr |
Definition at line 270 of file TgcCoinData.h.
|
staticconstexpr |
Definition at line 269 of file TgcCoinData.h.
|
staticconstexpr |
Bit info in int inner for the Tile inner-coincidence.
Definition at line 268 of file TgcCoinData.h.
|
private |
Definition at line 275 of file TgcCoinData.h.
|
private |
Definition at line 276 of file TgcCoinData.h.
|
private |
Definition at line 277 of file TgcCoinData.h.
|
private |
Definition at line 298 of file TgcCoinData.h.
|
private |
Definition at line 281 of file TgcCoinData.h.
|
private |
Definition at line 282 of file TgcCoinData.h.
|
private |
Definition at line 294 of file TgcCoinData.h.
|
private |
Definition at line 307 of file TgcCoinData.h.
|
private |
Definition at line 308 of file TgcCoinData.h.
|
private |
Definition at line 279 of file TgcCoinData.h.
|
private |
Definition at line 304 of file TgcCoinData.h.
|
private |
Definition at line 285 of file TgcCoinData.h.
|
private |
Definition at line 288 of file TgcCoinData.h.
|
private |
Definition at line 287 of file TgcCoinData.h.
|
private |
Definition at line 305 of file TgcCoinData.h.
|
private |
Definition at line 289 of file TgcCoinData.h.
|
private |
Definition at line 286 of file TgcCoinData.h.
|
private |
Definition at line 292 of file TgcCoinData.h.
|
private |
Definition at line 293 of file TgcCoinData.h.
|
private |
Definition at line 300 of file TgcCoinData.h.
|
private |
Definition at line 299 of file TgcCoinData.h.
|
private |
Definition at line 303 of file TgcCoinData.h.
|
private |
Definition at line 290 of file TgcCoinData.h.
|
private |
Definition at line 291 of file TgcCoinData.h.
|
private |
Definition at line 284 of file TgcCoinData.h.
|
private |
Definition at line 301 of file TgcCoinData.h.
|
private |
Definition at line 295 of file TgcCoinData.h.
|
private |
Definition at line 296 of file TgcCoinData.h.