Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef FPGATrackSimCONFTOOLS_FPGATrackSimEVENTSELECTIONSVC_H
6 #define FPGATrackSimCONFTOOLS_FPGATrackSimEVENTSELECTIONSVC_H
9 #include "GaudiKernel/ToolHandle.h"
73 Gaudi::Property<unsigned int>
m_regionID {
this,
"regionID", 0,
"current region under processing"};
74 Gaudi::Property<unsigned int>
m_skipRegionCheck {
this,
"skipRegionCheck",
false,
"this should be set to true for DataPrep or in cases where region cuts don't matter"};
75 Gaudi::Property<std::string>
m_regions_path {
this,
"regions",
"",
"path of the slices file"};
76 Gaudi::Property<std::string>
m_sampleType {
this,
"sampleType",
"singleMuons",
"type of sample under processing (skipTruth, singleElectrons, singleMuons, singlePions, or LLPs)"};
77 Gaudi::Property<bool>
m_withPU {
this,
"withPU",
false,
"flag to say if there is pile-up or not"};
78 Gaudi::Property<bool>
m_LRT {
this,
"doLRT",
false,
"Change track selection to LRT quantities; hit selection unchanged"};
79 Gaudi::Property<float>
m_minLRTpT {
this,
"minLRTpT", 5.,
"Minimum pT to use in LRT selection, in GeV"};
80 Gaudi::Property<int>
m_LRT_pdgID {
this,
"lrt_truthMatchPDGID", 0,
"If we are running an LLP sample but want only some PDGID of output in the truth selection, set this"};
81 Gaudi::Property<bool>
m_allowHighBarcode {
this,
"allowHighBarcode",
false,
"Whether or not to allow barcodes over 200000 in truth matching"};
82 Gaudi::Property<bool>
m_oldRegionDefs {
this,
"oldRegionDefs",
true,
"If True, use old region definitions, otherwise new ones where eta-phi for a region is automatically calculated and the rest are passed on"};
83 Gaudi::Property<float>
m_mind0 {
this,
"mind0", -2.0,
"Min d0 for region selection"};
84 Gaudi::Property<float>
m_minz0 {
this,
"minz0", -150,
"Min z0 for region selection"};
85 Gaudi::Property<float>
m_minqOverPt {
this,
"minqOverPt", -0.001,
"Min qOverPt for region selection (MeV)"};
86 Gaudi::Property<float>
m_maxd0 {
this,
"maxd0", 2.0,
"Max d0 for region selection"};
87 Gaudi::Property<float>
m_maxz0 {
this,
"maxz0", 150,
"Max z0 for region selection"};
88 Gaudi::Property<float>
m_maxqOverPt {
this,
"maxqOverPt", 0.001,
"Max qOverPt for region selection (MeV)"};
109 #endif // FPGATrackSimCONFTOOLS_FPGATrackSimEVENTSELECTIONSVC_H
virtual bool passZ0(const FPGATrackSimTrack &) const override
bool checkTruthTracksLRT(const std::vector< FPGATrackSimTruthTrack > &) const
bool checkTruthTracks(const std::vector< FPGATrackSimTruthTrack > &) const
virtual bool selectEvent(FPGATrackSimEventInputHeader *) override
virtual bool passMatching(FPGATrackSimTrack const &) const override
FPGATrackSimTrackPars m_trackmin
FPGATrackSimRegionSlices * m_regions
virtual bool passQOverPt(const FPGATrackSimTrack &) const override
Gaudi::Property< float > m_minz0
Gaudi::Property< unsigned int > m_skipRegionCheck
virtual bool getSelectedEvent() const override
virtual SampleType getSampleType() const override
virtual FPGATrackSimTrackPars getMax() const override
virtual bool passCuts(const FPGATrackSimHit &) const override
virtual bool passD0(const FPGATrackSimTrack &) const override
FPGATrackSimEventSelectionSvc(const std::string &name, ISvcLocator *svc)
Gaudi::Property< bool > m_oldRegionDefs
virtual FPGATrackSimTrackPars getMin() const override
virtual bool passPhi(const FPGATrackSimTrack &) const override
virtual StatusCode finalize() override
virtual ~FPGATrackSimEventSelectionSvc()=default
::StatusCode StatusCode
StatusCode definition for legacy code.
Gaudi::Property< std::string > m_sampleType
AthROOTErrorHandlerSvc * svc
Gaudi::Property< float > m_maxd0
Gaudi::Property< float > m_maxqOverPt
FPGATrackSimTrackPars m_max
virtual StatusCode initialize() override
FPGATrackSimTrackPars m_trackmax
Gaudi::Property< float > m_minLRTpT
Gaudi::Property< float > m_maxz0
Gaudi::Property< std::string > m_regions_path
Gaudi::Property< float > m_minqOverPt
Gaudi::Property< bool > m_LRT
Gaudi::Property< int > m_LRT_pdgID
virtual bool passEta(const FPGATrackSimTrack &) const override
Gaudi::Property< unsigned int > m_regionID
virtual void setSelectedEvent(bool s) override
Gaudi::Property< bool > m_allowHighBarcode
virtual int getLRTpdgID() const override
virtual bool checkPU() const override
Structs that store the 5 track parameters.
Gaudi::Property< float > m_mind0
Gaudi::Property< bool > m_withPU
virtual const FPGATrackSimRegionSlices * getRegions() override
FPGATrackSimTrackPars m_min
virtual unsigned getRegionID() const override