Commit dff0e6df authored by Atlas-Software Librarian's avatar Atlas-Software Librarian Committed by Graeme Stewart
Browse files

'CMakeLists.txt' (InDetParticleCreation-02-09-06)

parent 925c2262
################################################################################
# Package: InDetParticleCreation
################################################################################
# Declare the package name:
atlas_subdir( InDetParticleCreation )
# Declare the package's dependencies:
atlas_depends_on_subdirs( PUBLIC
Control/AthenaBaseComps
GaudiKernel
PRIVATE
Event/NavFourMom
Reconstruction/Particle
Tracking/TrkEvent/TrkParticleBase
Tracking/TrkEvent/TrkTrack
Tracking/TrkEvent/TrkTrackLink
Tracking/TrkEvent/TrkTrackSummary
Tracking/TrkEvent/VxVertex
Tracking/TrkTools/TrkToolInterfaces )
# Component(s) in the package:
atlas_add_component( InDetParticleCreation
src/*.cxx
src/components/*.cxx
LINK_LIBRARIES AthenaBaseComps GaudiKernel NavFourMom Particle TrkParticleBase TrkTrack TrkTrackSummary VxVertex TrkToolInterfaces )
# Install files from the package:
atlas_install_headers( InDetParticleCreation )
/*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
*/
/***************************************************************************
TrackParticleCreator.h - Description
-------------------
begin : 27-02-2004
authors : Andreas Wildauer (CERN PH-ATC), Fredrik Akesson (CERN PH-ATC)
email : andreas.wildauer@cern.ch, fredrik.akesson@cern.ch
changes :
***************************************************************************/
#ifndef INDETTRACKPARTICLECREATION_PARTICLECREATOR_H
#define INDETTRACKPARTICLECREATION_PARTICLECREATOR_H
#include "AthenaBaseComps/AthAlgorithm.h"
#include "GaudiKernel/ToolHandle.h"
namespace Trk
{
class ITrackParticleCreatorTool;
class IPRD_AssociationTool;
}
namespace InDet
{
class TrackParticleCreator : public AthAlgorithm
{
public:
TrackParticleCreator(const std::string &name, ISvcLocator *pSvcLocator);
virtual ~TrackParticleCreator();
StatusCode initialize();
StatusCode execute();
StatusCode finalize();
private:
ToolHandle< Trk::ITrackParticleCreatorTool > m_particleCreatorTool;
ToolHandle< Trk::IPRD_AssociationTool > m_assoTool; /** used to work out which (if any) PRDs are shared between tracks*/
std::string m_tracksName;
std::string m_vxCandidatesPrimaryName;
std::string m_trackParticleOutputName;
bool m_doSharedHits;
bool m_addAllTracksToDummyVtx;
unsigned int m_numEvents;
/** the number of Trk::Tracks processed, this is equal to the sum of tracks over all events in the input TrackContainer */
unsigned long m_nTracksProcessed;
/** the number of Rec::TrackParticle created, should be the same as Trk::Tracks processed but one never knows! */
unsigned long m_nTrackParticlesCreated;
unsigned int m_numberOfBLayerHits;
unsigned int m_numberOfBLayerSharedHits;
unsigned int m_numberOfBLayerOutliers;
unsigned int m_numberOfContribPixelLayers;
unsigned int m_numberOfPixelHits;
unsigned int m_numberOfPixelSharedHits;
unsigned int m_numberOfPixelHoles;
unsigned int m_numberOfGangedPixels;
unsigned int m_numberOfGangedFlaggedFakes ;
unsigned int m_numberOfSCTHits;
unsigned int m_numberOfSCTSharedHits;
unsigned int m_numberOfSCTHoles;
unsigned int m_numberOfSCTDoubleHoles;
unsigned int m_numberOfTRTHits;
unsigned int m_numberOfTRTXenonHits;
unsigned int m_numberOfTRTHighThresholdHits;
unsigned int m_numberOfTRTOutliers;
unsigned int m_numberOfTRTHighThresholdOutliers;
unsigned int m_numberOfOutliersOnTrack;
unsigned int m_numberOfPixelOutliers;
unsigned int m_numberOfPixelDeadSensors;
unsigned int m_numberOfPixelSpoiltHits;
unsigned int m_numberOfBlayersMissed;
unsigned int m_numberOfSCTOutliers;
unsigned int m_numberOfSCTDeadSensors;
unsigned int m_numberOfSCTSpoiltHits;
unsigned int m_numberOfTRTHoles;
unsigned int m_numberOfTRTDeadStraws;
unsigned int m_numberOfTRTTubeHits;
};
}
#endif
package InDetParticleCreation
author Andreas Wildauer <andreas.wildauer@cern.ch>
manager Andreas Wildauer <andreas.wildauer@cern.ch>
public
use AtlasPolicy AtlasPolicy-*
use GaudiInterface GaudiInterface-* External
use AthenaBaseComps AthenaBaseComps-* Control
private
use VxVertex VxVertex-* Tracking/TrkEvent
use TrkTrack TrkTrack-* Tracking/TrkEvent
use TrkParticleBase TrkParticleBase-* Tracking/TrkEvent
use Particle Particle-* Reconstruction
use TrkToolInterfaces TrkToolInterfaces-* Tracking/TrkTools
use TrkTrackLink TrkTrackLink-* Tracking/TrkEvent
use NavFourMom NavFourMom-* Event
use TrkTrackSummary TrkTrackSummary-* Tracking/TrkEvent
public
library InDetParticleCreation *.cxx components/*.cxx
apply_pattern component_library
/*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
*/
/**
@mainpage InDetParticleCreation
@author Andreas.Wildauer@cern.ch
@section Introduction
The creation of Rec::TrackParticle objects is one of the last steps of the post processing chain in the Inner Detector.
The package InDetParticleCreation contains the top algorithm InDet::ParticleCreator which creates Inner Detector Rec::TrackParticles from
Trk::Tracks and the vertex position stored in a Trk::VxCandidate and writes them to storegate.
It uses the Trk::ParticleCreatorTool from the package TrkParticleCreator.
@section UsedPackages
@htmlinclude used_packages.html
@section Requirements
@include requirements
*/
#include "GaudiKernel/DeclareFactoryEntries.h"
#include "InDetParticleCreation/TrackParticleCreator.h"
using namespace InDet;
DECLARE_ALGORITHM_FACTORY( TrackParticleCreator )
/** factory entries need to have the name of the package */
DECLARE_FACTORY_ENTRIES( InDetParticleCreation )
{
DECLARE_ALGORITHM( TrackParticleCreator )
}
#include "GaudiKernel/LoadFactoryEntries.h"
LOAD_FACTORY_ENTRIES( InDetParticleCreation )
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment