|
ATLAS Offline Software
|
Go to the documentation of this file.
6 #ifndef ITkTrackClusterAssValidation_H
7 #define ITkTrackClusterAssValidation_H
52 BooleanProperty
m_usePix{
this,
"usePixel",
true};
55 IntegerProperty
m_pdg{
this,
"pdgParticle", 0};
61 UnsignedIntegerProperty
m_spcut{
this,
"MinNumberSpacePoints", 3};
63 FloatProperty
m_rapcut{
this,
"RapidityCut", 4.0};
64 FloatProperty
m_ptcut{
this,
"MomentumCut", {}};
65 FloatProperty
m_rmin{
this,
"RadiusMin", 0.};
66 FloatProperty
m_rmax{
this,
"RadiusMax", 20.};
69 FloatArrayProperty
m_ptcuts{
this,
"PtCuts", {}};
70 UnsignedIntegerArrayProperty
m_clcuts{
this,
"MinNumberClustersCuts", {}};
75 {
this,
"TracksLocation", {
"CombinedITkTracks"}};
77 {
this,
"SpacePointsStripName",
"ITkStripSpacePoints"};
79 {
this,
"SpacePointsPixelName",
"ITkPixelSpacePoints"};
81 {
this,
"SpacePointsOverlapName",
"ITkOverlapSpacePoints"};
83 {
this,
"StripClusterContainer",
"ITkStripClusters"};
85 {
this,
"PixelClusterContainer",
"ITkPixelClusters"};
87 {
this,
"TruthLocationPixel",
"PRD_MultiTruthITkPixel"};
89 {
this,
"TruthLocationStrip",
"PRD_MultiTruthITkStrip"};
136 (
const EventContext& ctx,
139 (
const EventContext& ctx,
142 (
const EventContext& ctx,
173 static PRD_MultiTruthCollection::const_iterator
findTruth
179 std::pair<int,const Trk::PrepRawData*>,
int&,
double&)
const;
182 std::pair<int,const Trk::PrepRawData*> pa,
int& rap)
const
183 {
double eta;
return charge(event_data, pa, rap, eta); };
185 float minpT(
float eta)
const;
196 float aeta = std::abs(eta);
197 for(
int n =
int(m_ptcuts.size()-1);
n>0; --
n) {
198 if(aeta > m_etabins.value().at(
n))
return m_ptcuts.value().at(
n);
200 return m_ptcuts.value().at(0);
204 float aeta = std::abs(eta);
205 for(
int n =
int(m_clcuts.size()-1);
n>0; --
n) {
206 if(aeta > m_etabins.value().at(
n))
return m_clcuts.value().at(
n);
208 return m_clcuts.value().at(0);
213 #endif // TrackClusterAssValidation_H
Property holding a SG store/key/clid from which a ReadHandle is made.
InDet::EventStat_t m_eventStat
EventData_t(unsigned int n_collections)
int charge(const ITk::TrackClusterAssValidation::EventData_t &event_data, std::pair< int, const Trk::PrepRawData * > pa, int &rap) const
const PRD_MultiTruthCollection * m_truthPix
SG::ReadHandleKey< SpacePointContainer > m_spacepointsPixelname
A PRD is mapped onto all contributing particles.
const PRD_MultiTruthCollection * m_truthStrip
std::vector< InDet::TrackCollectionStat_t > m_trackCollectionStat ATLAS_THREAD_SAFE
std::multimap< int, const Trk::SpacePoint * > m_kinespacepoint
std::vector< SG::ReadHandle< SpacePointContainer > > m_spacePointContainer
std::vector< std::unique_ptr< SG::VarHandleBase > > m_clusterHandles
UnsignedIntegerProperty m_spcut
FloatArrayProperty m_ptcuts
void newClustersEvent(const EventContext &ctx, ITk::TrackClusterAssValidation::EventData_t &event_data) const
An algorithm that can be simultaneously executed in multiple threads.
static bool isTheSameDetElement(const ITk::TrackClusterAssValidation::EventData_t &event_data, int, const Trk::PrepRawData *)
SG::ReadHandleKeyArray< TrackCollection > m_tracklocation
int qualityTracksSelection(ITk::TrackClusterAssValidation::EventData_t &event_data) const
TrackClusterAssValidation(const std::string &name, ISvcLocator *pSvcLocator)
InDet::EventStat_t m_eventStat ATLAS_THREAD_SAFE
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection > m_StripDetEleCollKey
bool noReconstructedParticles(const ITk::TrackClusterAssValidation::EventData_t &event_data) const
SG::ReadHandleKey< InDet::SiClusterContainer > m_clustersStripname
void efficiencyReconstruction(ITk::TrackClusterAssValidation::EventData_t &event_data) const
::StatusCode StatusCode
StatusCode definition for legacy code.
static PRD_MultiTruthCollection::const_iterator findTruth(const ITk::TrackClusterAssValidation::EventData_t &event_data, const Trk::PrepRawData *, PRD_MultiTruthCollection::const_iterator &)
std::vector< SG::ReadHandle< TrackCollection > > m_trackcontainer
unsigned int minclusters(float eta) const
void newSpacePointsEvent(const EventContext &ctx, ITk::TrackClusterAssValidation::EventData_t &event_data) const
MsgStream & dumptools(MsgStream &out, MSG::Level level) const
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection > m_pixelDetEleCollKey
SG::ReadHandleKey< PRD_MultiTruthCollection > m_truth_locationPixel
std::unique_ptr< SG::ReadHandle< SpacePointOverlapCollection > > m_spacepointsOverlap
int kine(const ITk::TrackClusterAssValidation::EventData_t &event_data, const Trk::PrepRawData *, const Trk::PrepRawData *, int *, int) const
std::vector< std::list< InDet::PartPropCache > > m_particles
static int kine0(const ITk::TrackClusterAssValidation::EventData_t &event_data, const Trk::PrepRawData *, int *, int)
virtual ~TrackClusterAssValidation()
SG::ReadHandleKey< PRD_MultiTruthCollection > m_truth_locationStrip
static bool isTruth(const ITk::TrackClusterAssValidation::EventData_t &, const Trk::PrepRawData *)
std::vector< InDet::TrackCollectionStat_t > m_trackCollectionStat
FloatArrayProperty m_etabins
static MsgStream & dumpevent(MsgStream &out, const ITk::TrackClusterAssValidation::EventData_t &event_data)
BooleanProperty m_useStrip
StatusCode execute(const EventContext &ctx) const
UnsignedIntegerArrayProperty m_clcuts
SG::ReadHandleKey< SpacePointOverlapCollection > m_spacepointsOverlapname
SG::ReadHandleKey< InDet::SiClusterContainer > m_clustersPixelname
SG::ReadHandleKey< SpacePointContainer > m_spacepointsStripname
std::multimap< int, const Trk::PrepRawData * > m_kinecluster
void tracksComparison(const EventContext &ctx, ITk::TrackClusterAssValidation::EventData_t &event_data) const
int charge(const ITk::TrackClusterAssValidation::EventData_t &event_data, std::pair< int, const Trk::PrepRawData * >, int &, double &) const
Define macros for attributes used to control the static checker.
BooleanProperty m_useOutliers
std::vector< std::list< int > > m_difference
std::vector< std::multimap< int, int > > m_tracks
float minpT(float eta) const