|
ATLAS Offline Software
|
Go to the documentation of this file.
8 #ifndef NSW_SINGLEPADWEDGETRIGGER_H
9 #define NSW_SINGLEPADWEDGETRIGGER_H
15 #include "Math/Vector2D.h"
34 std::string
str()
const;
54 const std::vector<std::shared_ptr<PadOfflineData>> &
pads,
72 const std::vector<std::shared_ptr<PadOfflineData>>&
pads()
const {
return m_pads;}
77 std::vector<std::shared_ptr<PadOfflineData>>
m_pads;
bool isLargeSector() const
std::vector< std::shared_ptr< PadOfflineData > > m_pads
bool is3outOf4Layers() const
std::vector< size_t > m_padIndices
bool isInTransitionRegion(const std::pair< double, double > &Zratio) const
determine whether we are in the transition region
boost::geometry::model::polygon< Vertex > Polygon
const std::string & pattern() const
bool isSmallSector() const
use the first pad to determine whether it's a small/large sector
bool m_alreadyCombined
flag to keep track of whether this has already been combined w/ another wedge
const std::vector< size_t > & padIndices() const
bool alreadyCombined() const
static EtaPhiHalf bandIndices(const EtaPhiHalf &inner, const EtaPhiHalf &outer)
SingleWedgePadTrigger & setCombined()
static bool areInnerOuterConsistent(const EtaPhiHalf &inner, const EtaPhiHalf &outer)
Determine whether two single-wedge triggers are consistent with each other.
EtaPhiHalf halfPadCoordinates() const
EtaPhiHalf m_halfPadIndices
const std::vector< std::shared_ptr< PadOfflineData > > & pads() const
SingleWedgePadTrigger(const std::string &pattern, const std::vector< std::shared_ptr< PadOfflineData >> &pads, const std::vector< size_t > &padIndices)
bool is4outOf4Layers() const
static Polygon padOverlap3(const std::vector< std::shared_ptr< PadOfflineData >> &pads)
area that is overlapping between the pads that cause the trigger (pads are staggered)
A trigger trigger candidate for a stgc sector.