|
ATLAS Offline Software
|
Go to the documentation of this file.
14 #ifndef TRT_TrackSegmentsMaker_BarrelCosmics_H
15 #define TRT_TrackSegmentsMaker_BarrelCosmics_H
60 virtual std::unique_ptr<InDet::ITRT_TrackSegmentsMaker::IEventData>
newEvent(
const EventContext& ctx)
const override;
61 virtual std::unique_ptr<InDet::ITRT_TrackSegmentsMaker::IEventData>
newRegion(
const EventContext& ctx,
const std::vector<IdentifierHash>&)
const override;
64 virtual void find(
const EventContext &ctx,
68 &event_data)
const override;
70 virtual MsgStream&
dump (MsgStream &
out)
const override
72 virtual std::ostream&
dump (std::ostream&
out)
const override
96 std::vector< const InDet::TRT_DriftCircle * >
m_listHits;
111 "Name of TRT det. manager"};
123 double *bestParameters,
130 void convert(std::vector<const InDet::TRT_DriftCircle *> &
hits,
142 static void segFit(
double *measx,
double *measy,
int nhits,
double *residuals = 0,
double *
result = 0);
156 "minimal time over threshold for seed search - default ~ 10 ns"};
158 "search for lines (if False) or circles (if True)"};
165 #endif // TRT_TrackSegmentsMaker_BarrelCosmics_H
virtual MsgStream & dump(MsgStream &out) const override
Property holding a SG store/key/clid from which a ReadHandle is made.
Base for a helper class to pass mutable storage to tools.
std::vector< Amg::Vector3D > m_listHitCenter
void mean(std::vector< double > &bins, std::vector< double > &values, const std::vector< std::string > &files, const std::string &histname, const std::string &tplotname, const std::string &label="")
const TRT_DriftCircleContainer * m_trtcontainer
std::vector< const InDet::TRT_DriftCircle * > m_listHits
void convert(std::vector< const InDet::TRT_DriftCircle * > &hits, double *trackpar, TRT_TrackSegmentsMaker_BarrelCosmics::EventData &event_data) const
static bool sortHits(const InDet::TRT_DriftCircle *, const InDet::TRT_DriftCircle *)
sort hits on segment such that they are ordered from larger y to smaller (from top down)
SG::ReadHandleKey< InDet::TRT_DriftCircleContainer > m_driftCirclesName
Container with TRT clusters.
virtual std::unique_ptr< InDet::ITRT_TrackSegmentsMaker::IEventData > newRegion(const EventContext &ctx, const std::vector< IdentifierHash > &) const override
IntegerProperty m_nBinsInX
IntegerProperty m_minHitsAboveTOT
IntegerProperty m_maxTotalHits
static void linearRegressionParabolaFit(double *mean, double *a)
static void segFit(double *measx, double *measy, int nhits, double *residuals=0, double *result=0)
int findSeed(double xmin, double xmax, double phimin, double phimax, double *bestParameters, TRT_TrackSegmentsMaker_BarrelCosmics::EventData &event_data) const
StringProperty m_TRTManagerName
virtual std::ostream & dump(std::ostream &out) const override
::StatusCode StatusCode
StatusCode definition for legacy code.
BooleanProperty m_mergeSegments
BooleanProperty m_magneticField
std::vector< Trk::TrackSegment * > m_segments
List of found segments.
virtual void find(const EventContext &ctx, InDet::ITRT_TrackSegmentsMaker::IEventData &event_data, InDet::TRT_DetElementLink_xk::TRT_DetElemUsedMap &used) const override
unsigned int m_segmentDriftCirclesCount
virtual StatusCode initialize() override
TRT_TrackSegmentsMaker_BarrelCosmics(const std::string &, const std::string &, const IInterface *)
void findSeedInverseR(double *par, TRT_TrackSegmentsMaker_BarrelCosmics::EventData &event_data) const
Trk::PrepRawDataContainer< TRT_DriftCircleCollection > TRT_DriftCircleContainer
virtual StatusCode finalize() override
virtual std::unique_ptr< InDet::ITRT_TrackSegmentsMaker::IEventData > newEvent(const EventContext &ctx) const override
void findOld(TRT_TrackSegmentsMaker_BarrelCosmics::EventData &event_data) const
DoubleProperty m_minSeedTOT
IntegerProperty m_nBinsInPhi
void endEvent(InDet::ITRT_TrackSegmentsMaker::IEventData &event_data) const override
virtual ~TRT_TrackSegmentsMaker_BarrelCosmics()
std::array< std::vector< std::vector< Used_t > >, 3 > TRT_DetElemUsedMap
virtual Trk::TrackSegment * next(InDet::ITRT_TrackSegmentsMaker::IEventData &event_data) const override
std::vector< std::vector< const InDet::TRT_DriftCircle * > > m_segmentDriftCircles
IntegerProperty m_minHitsForSegment
IntegerProperty m_minHitsForSeed
EventData(const TRT_DriftCircleContainer *trtcontainer)