|
ATLAS Offline Software
|
Go to the documentation of this file.
12 #ifndef MUONTRIGCOINDATA_TGCCOINDATA_H
13 #define MUONTRIGCOINDATA_TGCCOINDATA_H
19 #include "Identifier/Identifier.h"
24 #include "GaudiKernel/MsgStream.h"
33 class TgcCoinDataContainerCnv_p1;
34 class TgcCoinDataContainerCnv_p2;
35 class TgcCoinDataContainerCnv_p3;
44 friend class ::TgcCoinDataContainerCnv;
95 const bool veto =
false);
140 void setHashAndIndex(
unsigned short collHash,
unsigned short objIndex);
406 .Trk::Surface::localToGlobal(*
m_posIn)));
408 m_globalposIn.set(std::make_unique<const Amg::Vector3D>(0., 0., 0.));
420 .Trk::Surface::localToGlobal(*
m_posOut)));
422 m_globalposOut.set(std::make_unique<const Amg::Vector3D>(0., 0., 0.));
429 #endif // MUONTRIGCOINDATA_TGCCOINDATA_H
bool hasErrMat() const
Test to see if the error matrix is present.
Create derived converter to customize the saving of identifiable container.
static constexpr uint32_t INNER_RPC_DPHI_BITSHIFT
const MuonGM::TgcReadoutElement * m_detElIn
friend MsgStream & operator<<(MsgStream &sl, const TgcCoinData &coin)
Overload of << operator for MsgStream for debug output.
static constexpr uint32_t INNER_TILE_BCID_BITSHIFT
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic > MatrixX
Dynamic Matrix - dynamic allocation.
static constexpr uint32_t INNER_RPC_DETA_BIT
TgcCoinData & operator=(const TgcCoinData &)
static constexpr uint32_t INNER_RPC_BCID_BIT
Identifier channelIdOut() const
return offlineID on track on TGC3
Eigen::Matrix< double, 2, 1 > Vector2D
static constexpr uint32_t INNER_EIFI_EI_BIT
const Amg::Vector3D & globalposOut() const
return global position of track on TGC3
bool isAside() const
Aside or Cside.
CoinDataType type() const
return the coincidence type (HIPT, LPT, SL)
Cached pointer with atomic update.
static constexpr uint32_t INNER_EIFI_FI_BIT
int inner() const
return InnerCoincidecne trigger bits
TgcCoinData()
Public, Copy, operator=, constructor.
static constexpr uint32_t INNER_NSW_PHIRES_BIT
static constexpr uint32_t INNER_RPC_PHI_BITSHIFT
bool isStrip() const
Strip hit or Wire hit?
Identifiable container index to a contained object.
static constexpr uint32_t INNER_NSW_BCID_BITSHIFT
int trackletId() const
return trackletId (Identifier for each track)
bool veto() const
return veto bit
IdentifierHash m_collectionIdHash
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
void setObjIndex(unsigned short index)
set combined index
static constexpr uint32_t INNER_RPC_DETA_BITSHIFT
IdentContIndex m_indexAndHash
void setCollHash(unsigned short hash)
set object index in collection
virtual const Trk::PlaneSurface & surface() const override
access to chamber surface (phi orientation), uses the first gas gap
IdentifierHash identifyHash() const
return the identifierHash of Outer Hit
bool isPositiveDeltaR() const
return isPositiveDeltaR (isMuplus) of SL
static constexpr uint32_t INNER_RPC_DPHI_BIT
static constexpr uint32_t INNER_NSW_INPUT_BITSHIFT
static constexpr uint32_t INNER_NSW_ID_BITSHIFT
static constexpr uint32_t INNER_NSW_DTHETA_BIT
const Amg::Vector3D & globalposIn() const
return global position of track on TGC1(HIPT) or TGC2(TRACKLET)
int trackletIdStrip() const
return trackletId for strip (Identifier for each track)
int delta() const
return the deviation from Pt=oo track
bool isInner() const
Inner layers or BW.
static constexpr uint32_t INNER_NSW_PHIRES_BITSHIFT
static constexpr uint32_t INNER_TILE_MODULE_BIT
void setHashAndIndex(unsigned short collHash, unsigned short objIndex)
const Amg::Vector2D & posIn() const
return Local position of track on TGC1(HIPT) or TGC2(TRACKLET)
Cached unique_ptr with atomic update.
double widthIn() const
return region width of hit on TGC1
const Amg::MatrixX & errMat() const
return 2d width of ROI for SL: errMat[0][0]==(width for R), errMat[1][1]==(width for phi)
A TgcReadoutElement corresponds to a single TGC chamber; therefore typically a TGC station contains s...
const Amg::MatrixX * m_errMat
static constexpr uint32_t INNER_RPC_ETA_BITSHIFT
Bit info in int inner for the RPC inner-coincidence.
double widthOut() const
return region width of hit on TGC2(TRACKLET) or TGC3(HIPT)
static constexpr uint32_t INNER_TILE_MODULE_BITSHIFT
Bit info in int inner for the Tile inner-coincidence.
static constexpr uint32_t INNER_NSW_DTHETA_BITSHIFT
~TgcCoinData()
Destructor:
static constexpr uint32_t INNER_RPC_BCID_BITSHIFT
const Amg::Vector2D * posInPtr() const
const MuonGM::TgcReadoutElement * detectorElementIn() const
return TgcReadoutElement of track on TGC1(HIPT) or TGC2(TRACKLET)
static constexpr uint32_t INNER_RPC_FLAG_BIT
static constexpr uint32_t INNER_NSW_LOWRES_BIT
const MuonGM::TgcReadoutElement * m_detElOut
const Amg::Vector2D * m_posOut
static constexpr uint32_t INNER_NSW_PHI_BIT
const Amg::Vector2D * m_posIn
const IdentContIndex & getHashAndIndex() const
static constexpr uint32_t INNER_NSW_R_BITSHIFT
Bit info in int inner for the NSW inner-coincidence.
int roi() const
return ROI number
const Amg::Vector2D * posOutPtr() const
CxxUtils::CachedUniquePtr< const Amg::Vector3D > m_globalposOut
CxxUtils::CachedUniquePtr< const Amg::Vector3D > m_globalposIn
static constexpr uint32_t INNER_NSW_BCID_BIT
Eigen::Matrix< double, 3, 1 > Vector3D
static constexpr uint32_t INNER_RPC_FLAG_BITSHIFT
const Amg::Vector2D & posOut() const
return Local position of track on TGC3
bool isForward() const
Forward region or Endcap region.
static constexpr uint32_t INNER_RPC_ETA_BIT
static constexpr uint32_t INNER_EIFI_CID_BIT
int sub() const
return subMatrix of Tracklet or hsub of HiPt
void setHashAndIndex(unsigned int hashAndIndex)
Setters of hash, obj index and combined index.
int pt() const
return pt threshold value
static constexpr uint32_t INNER_NSW_ID_BIT
void setIdentifier(Identifier in, Identifier out)
set the OfflineID of Inner and Outer Hits
static constexpr uint32_t INNER_EIFI_FI_BITSHIFT
Identifier channelIdIn() const
return offlineID on TGC1(HIPT) or TGC2(TRACKLET)
Identifier identify() const
return OfflineID of Outer Hit
static constexpr uint32_t INNER_NSW_PHI_BITSHIFT
Identifier m_channelIdOut
const MuonGM::TgcReadoutElement * detectorElementOut() const
return TgcReadoutElement of track on TGC3
static constexpr uint32_t INNER_RPC_PHI_BIT
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
static constexpr uint32_t INNER_NSW_R_BIT
static constexpr uint32_t INNER_NSW_INPUT_BIT
static constexpr uint32_t INNER_EIFI_CID_BITSHIFT
static constexpr uint32_t INNER_NSW_LOWRES_BITSHIFT
static constexpr uint32_t INNER_EIFI_EI_BITSHIFT
Bit info in int inner for the EI/FI inner-coincidence.
static constexpr uint32_t INNER_TILE_BCID_BIT
int phi() const
return phi number of trigger sector