|
ATLAS Offline Software
|
#include <egammaSelectedTrackCopy.h>
|
| egammaSelectedTrackCopy (const std::string &name, ISvcLocator *pSvcLocator) |
| Default constructor. More...
|
|
virtual StatusCode | initialize () override final |
|
virtual StatusCode | finalize () override final |
|
virtual StatusCode | execute (const EventContext &ctx) const override final |
|
virtual StatusCode | sysInitialize () override |
| Override sysInitialize. More...
|
|
virtual bool | isClonable () const override |
| Specify if the algorithm is clonable. More...
|
|
virtual unsigned int | cardinality () const override |
| Cardinality (Maximum number of clones that can exist) special value 0 means that algorithm is reentrant. More...
|
|
virtual StatusCode | sysExecute (const EventContext &ctx) override |
| Execute an algorithm. More...
|
|
virtual const DataObjIDColl & | extraOutputDeps () const override |
| Return the list of extra output dependencies. More...
|
|
virtual bool | filterPassed (const EventContext &ctx) const |
|
virtual void | setFilterPassed (bool state, const EventContext &ctx) const |
|
ServiceHandle< StoreGateSvc > & | evtStore () |
| The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
const ServiceHandle< StoreGateSvc > & | evtStore () const |
| The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
const ServiceHandle< StoreGateSvc > & | detStore () const |
| The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
virtual StatusCode | sysStart () override |
| Handle START transition. More...
|
|
virtual std::vector< Gaudi::DataHandle * > | inputHandles () const override |
| Return this algorithm's input handles. More...
|
|
virtual std::vector< Gaudi::DataHandle * > | outputHandles () const override |
| Return this algorithm's output handles. More...
|
|
Gaudi::Details::PropertyBase & | declareProperty (Gaudi::Property< T > &t) |
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleKey &hndl, const std::string &doc, const SG::VarHandleKeyType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleBase &hndl, const std::string &doc, const SG::VarHandleType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleKeyArray &hndArr, const std::string &doc, const SG::VarHandleKeyArrayType &) |
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, T &property, const std::string &doc, const SG::NotHandleType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, T &property, const std::string &doc="none") |
| Declare a new Gaudi property. More...
|
|
void | updateVHKA (Gaudi::Details::PropertyBase &) |
|
MsgStream & | msg () const |
|
MsgStream & | msg (const MSG::Level lvl) const |
|
bool | msgLvl (const MSG::Level lvl) const |
|
Algorithm which selects tracks to be GSF refitted later on.
The algorithm select tracks that are matched to cluster using eta and phi. Si-track/cluster pairs with Et (computed with eta from the track) less than 10 MeV are not considered. Non-Si-track/cluster pair with Et (from the cluster) less than 10 MeV are not considered.
The eta/phi matching is done in two steps. In the first step a broad matching is done. Then a narrower match is done using extrapolated tracks to the second layer. For TRT tracks only broad phi-matching is tried.
The heavy work is done directly inside the algorithm, without the usage of any particular external tool (see selectTrack private method).
Definition at line 53 of file egammaSelectedTrackCopy.h.
◆ StoreGateSvc_t
◆ egammaSelectedTrackCopy()
egammaSelectedTrackCopy::egammaSelectedTrackCopy |
( |
const std::string & |
name, |
|
|
ISvcLocator * |
pSvcLocator |
|
) |
| |
◆ cardinality()
unsigned int AthReentrantAlgorithm::cardinality |
( |
| ) |
const |
|
overridevirtualinherited |
Cardinality (Maximum number of clones that can exist) special value 0 means that algorithm is reentrant.
Override this to return 0 for reentrant algorithms.
Override this to return 0 for reentrant algorithms.
Definition at line 55 of file AthReentrantAlgorithm.cxx.
◆ declareGaudiProperty() [1/4]
specialization for handling Gaudi::Property<SG::VarHandleKeyArray>
Definition at line 170 of file AthCommonDataStore.h.
175 hndl.documentation());
◆ declareGaudiProperty() [2/4]
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
161 hndl.documentation());
◆ declareGaudiProperty() [3/4]
specialization for handling Gaudi::Property<SG::VarHandleBase>
Definition at line 184 of file AthCommonDataStore.h.
189 hndl.documentation());
◆ declareGaudiProperty() [4/4]
◆ declareProperty() [1/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
hndl | Object holding the property value. |
doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleBase
. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 245 of file AthCommonDataStore.h.
250 this->declare(hndl.
vhKey());
251 hndl.
vhKey().setOwner(
this);
◆ declareProperty() [2/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
hndl | Object holding the property value. |
doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleKey
. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 221 of file AthCommonDataStore.h.
◆ declareProperty() [3/6]
◆ declareProperty() [4/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation string for the property. |
This is the generic version, for types that do not derive from SG::VarHandleKey
. It just forwards to the base class version of declareProperty
.
Definition at line 333 of file AthCommonDataStore.h.
◆ declareProperty() [5/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation string for the property. |
This dispatches to either the generic declareProperty
or the one for VarHandle/Key/KeyArray.
Definition at line 352 of file AthCommonDataStore.h.
◆ declareProperty() [6/6]
◆ detStore()
◆ evtStore() [1/2]
◆ evtStore() [2/2]
◆ execute()
StatusCode egammaSelectedTrackCopy::execute |
( |
const EventContext & |
ctx | ) |
const |
|
finaloverridevirtual |
Definition at line 91 of file egammaSelectedTrackCopy.cxx.
118 auto viewCopy = std::make_unique<ConstDataVector<xAOD::TrackParticleContainer>>(
SG::VIEW_ELEMENTS);
128 ATH_CHECK(caloDetDescrMgrHandle.isValid());
133 std::vector<const xAOD::CaloCluster*> passingClusters;
136 passingClusters.push_back(cluster);
146 bool isNotValidForRefit = !checkIfValidForRefit(
track);
147 if (isNotValidForRefit) {
156 if (
selectTrack(ctx, cluster,
track, isNotValidForRefit, *calodetdescrmgr)) {
157 viewCopy->push_back(
track);
159 if (isNotValidForRefit) {
172 if (
selectTrack(ctx, cluster,
track, isNotValidForRefit, *calodetdescrmgr)) {
173 viewCopy->push_back(
track);
181 ATH_CHECK(outputTrkPartContainer.record(std::move(viewCopy)));
183 return StatusCode::SUCCESS;
◆ extraDeps_update_handler()
Add StoreName to extra input/output deps as needed.
use the logic of the VarHandleKey to parse the DataObjID keys supplied via the ExtraInputs and ExtraOuputs Properties to add the StoreName if it's not explicitly given
◆ extraOutputDeps()
const DataObjIDColl & AthReentrantAlgorithm::extraOutputDeps |
( |
| ) |
const |
|
overridevirtualinherited |
Return the list of extra output dependencies.
This list is extended to include symlinks implied by inheritance relations.
Definition at line 79 of file AthReentrantAlgorithm.cxx.
86 return Algorithm::extraOutputDeps();
◆ filterPassed()
virtual bool AthReentrantAlgorithm::filterPassed |
( |
const EventContext & |
ctx | ) |
const |
|
inlinevirtualinherited |
◆ finalize()
virtual StatusCode egammaSelectedTrackCopy::finalize |
( |
| ) |
|
|
finaloverridevirtual |
◆ initialize()
StatusCode egammaSelectedTrackCopy::initialize |
( |
| ) |
|
|
finaloverridevirtual |
◆ inputHandles()
Return this algorithm's input handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
◆ isClonable()
bool AthReentrantAlgorithm::isClonable |
( |
| ) |
const |
|
overridevirtualinherited |
Specify if the algorithm is clonable.
Reentrant algorithms are clonable.
Reimplemented in Simulation::BeamEffectsAlg, InDet::SiTrackerSpacePointFinder, InDet::SCT_Clusterization, InDet::SiSPSeededTrackFinder, SCTRawDataProvider, InDet::GNNSeedingTrackMaker, SCT_PrepDataToxAOD, RoIBResultToxAOD, SCT_CablingCondAlgFromCoraCool, SCT_ReadCalibDataTestAlg, SCT_CablingCondAlgFromText, InDet::SiSPGNNTrackMaker, SCT_ReadCalibChipDataTestAlg, SCT_TestCablingAlg, SCT_ConfigurationConditionsTestAlg, ITkPixelCablingAlg, ITkStripCablingAlg, SCTEventFlagWriter, SCT_ConditionsSummaryTestAlg, SCT_ModuleVetoTestAlg, SCT_MonitorConditionsTestAlg, SCT_LinkMaskingTestAlg, SCT_MajorityConditionsTestAlg, SCT_RODVetoTestAlg, SCT_SensorsTestAlg, SCT_TdaqEnabledTestAlg, SCT_SiliconConditionsTestAlg, SCTSiLorentzAngleTestAlg, SCT_ByteStreamErrorsTestAlg, SCT_ConditionsParameterTestAlg, SCT_FlaggedConditionTestAlg, SCT_StripVetoTestAlg, SCT_RawDataToxAOD, and SCTSiPropertiesTestAlg.
Definition at line 44 of file AthReentrantAlgorithm.cxx.
◆ msg() [1/2]
◆ msg() [2/2]
◆ msgLvl()
◆ outputHandles()
Return this algorithm's output handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
◆ renounce()
◆ renounceArray()
◆ selectTrack()
Broad track selection.
Definition at line 187 of file egammaSelectedTrackCopy.cxx.
194 if (cluster ==
nullptr ||
track ==
nullptr) {
201 const double trkPhi = candidatePerigee.parameters()[
Trk::phi];
202 const double trkEta = candidatePerigee.eta();
203 const double z_perigee = candidatePerigee.position().z();
204 const double r_perigee = candidatePerigee.position().perp();
205 const Amg::Vector3D PerigeeXYZPosition(candidatePerigee.position().x(),
206 candidatePerigee.position().y(),
214 const double Et = trkTRT ? cluster->
et() : cluster->
e() / cosh(trkEta);
217 if (std::abs(clusterEta) > 10.0 || std::abs(trkEta) > 10.0 || Et < 10.0) {
219 "FAILS sanity checks : Track Eta : " << trkEta <<
220 ", Cluster Eta " << clusterEta
253 const double clusterPhiCorrected = XYZClusterWrtTrackPerigee.phi();
278 "FAILS broad window phi match (track phi, phirotCluster , phiRotTrack , " <<
279 "cluster phi corrected, cluster phi): ( " <<
281 phiRotRescaled <<
", " <<
282 phiRotTrack <<
", " <<
283 clusterPhiCorrected <<
", " <<
284 cluster->
phi() <<
")"
291 if (trkTRT) {
return true; }
293 const double clusterEtaCorrected = XYZClusterWrtTrackPerigee.eta();
301 "FAILS broad window eta match (track eta, cluster eta, cluster eta corrected): ( " <<
303 cluster->
etaBE(2) <<
", " <<
304 clusterEtaCorrected <<
" )"
311 std::vector<CaloSampling::CaloSample>,
312 std::vector<std::unique_ptr<Trk::Surface>>
317 std::array<double, 4>
eta = { -999.0, -999.0, -999.0, -999.0 };
318 std::array<double, 4>
phi = { -999.0, -999.0, -999.0, -999.0 };
319 std::array<double, 4>
deltaEta = { -999.0, -999.0, -999.0, -999.0 };
320 std::array<double, 4>
deltaPhi = { -999.0, -999.0, -999.0, -999.0 };
325 layersAndSurfaces.first,
326 layersAndSurfaces.second,
355 std::array<double, 4> etaRes = { -999.0, -999.0, -999.0, -999.0 };
356 std::array<double, 4>
phiRes = { -999.0, -999.0, -999.0, -999.0 };
357 std::array<double, 4> deltaEtaRes = { -999.0, -999.0, -999.0, -999.0 };
358 std::array<double, 4> deltaPhiRes = { -999.0, -999.0, -999.0, -999.0 };
364 layersAndSurfaces.first,
365 layersAndSurfaces.second,
◆ setFilterPassed()
virtual void AthReentrantAlgorithm::setFilterPassed |
( |
bool |
state, |
|
|
const EventContext & |
ctx |
|
) |
| const |
|
inlinevirtualinherited |
◆ sysExecute()
StatusCode AthReentrantAlgorithm::sysExecute |
( |
const EventContext & |
ctx | ) |
|
|
overridevirtualinherited |
Execute an algorithm.
We override this in order to work around an issue with the Algorithm base class storing the event context in a member variable that can cause crashes in MT jobs.
Definition at line 67 of file AthReentrantAlgorithm.cxx.
69 return Gaudi::Algorithm::sysExecute (ctx);
◆ sysInitialize()
StatusCode AthReentrantAlgorithm::sysInitialize |
( |
| ) |
|
|
overridevirtualinherited |
Override sysInitialize.
Override sysInitialize from the base class.
Loop through all output handles, and if they're WriteCondHandles, automatically register them and this Algorithm with the CondSvc
Scan through all outputHandles, and if they're WriteCondHandles, register them with the CondSvc
Reimplemented from AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >.
Reimplemented in InputMakerBase, and HypoBase.
Definition at line 96 of file AthReentrantAlgorithm.cxx.
107 if ( cs.retrieve().isFailure() ) {
109 return StatusCode::SUCCESS;
111 if (cs->regHandle(
this,*
h).isFailure()) {
112 sc = StatusCode::FAILURE;
113 ATH_MSG_ERROR(
"unable to register WriteCondHandle " <<
h->fullKey()
◆ sysStart()
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
◆ updateVHKA()
◆ m_AllClusters
Gaudi::Accumulators::Counter egammaSelectedTrackCopy::m_AllClusters {} |
|
mutableprivate |
◆ m_AllFwdClusters
Gaudi::Accumulators::Counter egammaSelectedTrackCopy::m_AllFwdClusters {} |
|
mutableprivate |
◆ m_AllSiTracks
Gaudi::Accumulators::Counter egammaSelectedTrackCopy::m_AllSiTracks {} |
|
mutableprivate |
◆ m_AllTracks
Gaudi::Accumulators::Counter egammaSelectedTrackCopy::m_AllTracks {} |
|
mutableprivate |
◆ m_AllTRTTracks
Gaudi::Accumulators::Counter egammaSelectedTrackCopy::m_AllTRTTracks {} |
|
mutableprivate |
◆ m_broadDeltaEta
Gaudi::Property<double> egammaSelectedTrackCopy::m_broadDeltaEta |
|
private |
Initial value:{
this,
"broadDeltaEta",
0.2,
"Value of broad cut for delta eta"
}
Broad windows.
Definition at line 131 of file egammaSelectedTrackCopy.h.
◆ m_broadDeltaPhi
Gaudi::Property<double> egammaSelectedTrackCopy::m_broadDeltaPhi |
|
private |
◆ m_caloDetDescrMgrKey
Initial value:{
this,
"CaloDetDescrManager",
"CaloDetDescrManager",
"SG Key for CaloDetDescrManager in the Condition Store"
}
Definition at line 116 of file egammaSelectedTrackCopy.h.
◆ m_clusterContainerKey
Initial value:{
this,
"ClusterContainerName",
"egammaTopoCluster",
"Input calo cluster for seeding"
}
Names of input output collections.
Definition at line 88 of file egammaSelectedTrackCopy.h.
◆ m_detStore
◆ m_doForwardTracks
Gaudi::Property<bool> egammaSelectedTrackCopy::m_doForwardTracks |
|
private |
Initial value:{
this,
"doFwdTracks",
false,
"Boolean to select tracks in the forward region"
}
Private member flag to select forward tracks.
Definition at line 182 of file egammaSelectedTrackCopy.h.
◆ m_egammaCaloClusterSelector
Initial value:{
this,
"egammaCaloClusterSelector",
"egammaCaloClusterSelector",
"Tool that makes the cluster selection"
}
Tool to filter the calo clusters.
Definition at line 80 of file egammaSelectedTrackCopy.h.
◆ m_evtStore
◆ m_extendedExtraObjects
DataObjIDColl AthReentrantAlgorithm::m_extendedExtraObjects |
|
privateinherited |
Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.
Empty if no symlinks were found.
Definition at line 153 of file AthReentrantAlgorithm.h.
◆ m_extrapolationTool
Initial value:{
this,
"ExtrapolationTool",
"EMExtrapolationTools",
"Extrapolation tool"
}
Tool for extrapolation.
Definition at line 72 of file egammaSelectedTrackCopy.h.
◆ m_fwdClusterContainerKey
Initial value:{
this,
"FwdClusterContainerName",
"",
"Input calo cluster for seeding"
}
Names of forward input output collections.
Definition at line 96 of file egammaSelectedTrackCopy.h.
◆ m_narrowDeltaEta
Gaudi::Property<double> egammaSelectedTrackCopy::m_narrowDeltaEta |
|
private |
Initial value:{
this,
"narrowDeltaEta",
0.05,
"Value of narrow cut for delta eta"
}
Narrow windows.
Definition at line 146 of file egammaSelectedTrackCopy.h.
◆ m_narrowDeltaPhi
Gaudi::Property<double> egammaSelectedTrackCopy::m_narrowDeltaPhi |
|
private |
Initial value:{
this,
"narrowDeltaPhi",
0.05,
"Value of narrow cut for delta phi"
}
Definition at line 153 of file egammaSelectedTrackCopy.h.
◆ m_narrowDeltaPhiBrem
Gaudi::Property<double> egammaSelectedTrackCopy::m_narrowDeltaPhiBrem |
|
private |
Initial value:{
this,
"narrowDeltaPhiBrem",
0.2,
"Value of the narrow cut for delta phi in the brem direction"
}
Definition at line 160 of file egammaSelectedTrackCopy.h.
◆ m_narrowRescale
Gaudi::Property<double> egammaSelectedTrackCopy::m_narrowRescale |
|
private |
Initial value:{
this,
"narrowDeltaPhiRescale",
0.05,
"Value of the narrow cut for delta phi Rescale"
}
Definition at line 167 of file egammaSelectedTrackCopy.h.
◆ m_narrowRescaleBrem
Gaudi::Property<double> egammaSelectedTrackCopy::m_narrowRescaleBrem |
|
private |
Initial value:{
this,
"narrowDeltaPhiRescaleBrem",
0.1,
"Value of the narrow cut for delta phi Rescale Brem"
}
Definition at line 174 of file egammaSelectedTrackCopy.h.
◆ m_OutputTrkPartContainerKey
Initial value:{
this,
"OutputTrkPartContainerName",
"egammaSelectedTrackParticles",
"Output selected TrackParticles"
}
Definition at line 123 of file egammaSelectedTrackCopy.h.
◆ m_SelectedClusters
Gaudi::Accumulators::Counter egammaSelectedTrackCopy::m_SelectedClusters {} |
|
mutableprivate |
◆ m_SelectedFwdTracks
Gaudi::Accumulators::Counter egammaSelectedTrackCopy::m_SelectedFwdTracks {} |
|
mutableprivate |
◆ m_SelectedSiTracks
Gaudi::Accumulators::Counter egammaSelectedTrackCopy::m_SelectedSiTracks {} |
|
mutableprivate |
◆ m_SelectedTracks
Gaudi::Accumulators::Counter egammaSelectedTrackCopy::m_SelectedTracks {} |
|
mutableprivate |
◆ m_SelectedTRTTracks
Gaudi::Accumulators::Counter egammaSelectedTrackCopy::m_SelectedTRTTracks {} |
|
mutableprivate |
◆ m_trackParticleContainerKey
Initial value:{
this,
"TrackParticleContainerName",
"InDetTrackParticles",
"Input TrackParticles to select from"
}
Definition at line 103 of file egammaSelectedTrackCopy.h.
◆ m_trackParticleTimeDecorKey
Initial value:{
this,
"TrackParticleTimeDecoration",
"",
"Time assigned to this track"}
Definition at line 110 of file egammaSelectedTrackCopy.h.
◆ m_varHandleArraysDeclared
◆ m_vhka
The documentation for this class was generated from the following files:
Amg::Vector3D approxXYZwrtPoint(const xAOD::CaloCluster &cluster, const Amg::Vector3D &point, const bool isEndCap)
Function to get the (x,y,z) of the cluster wrt to a point (x0,y0,z0)
virtual double phi() const
The azimuthal angle ( ) of the particle.
SG::WriteHandleKey< ConstDataVector< xAOD::TrackParticleContainer > > m_OutputTrkPartContainerKey
Gaudi::Accumulators::Counter m_AllFwdClusters
@ deltaPhiRescaled
difference between the cluster phi (sampling 2) and the phi of the track extrapolated from the perige...
Scalar phi() const
phi method
Gaudi::Property< double > m_narrowDeltaPhiBrem
@ VIEW_ELEMENTS
this data object is a view, it does not own its elmts
Gaudi::Accumulators::Counter m_AllTRTTracks
Scalar eta() const
pseudorapidity method
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Dummy class used to allow special convertors to be called for surfaces owned by a detector element.
setSAddress setEtaMS setDirPhiMS setDirZMS setBarrelRadius setEndcapAlpha setEndcapRadius setInterceptInner setEtaMap setEtaBin setIsTgcFailure setDeltaPt deltaPhi
Gaudi::Accumulators::Counter m_AllTracks
std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > renounce(T &h)
double PhiROT(const double pt, const double eta, const int charge, const double r_start, const bool isEndCap)
Function to calculate the approximate rotation in phi/bending of a track until it reaches the calo.
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
std::vector< SG::VarHandleKeyArray * > m_vhka
Gaudi::Accumulators::Counter m_SelectedSiTracks
virtual void setOwner(IDataHandleHolder *o)=0
bool isBarrel(const xAOD::Egamma *eg)
return true if the cluster is in the barrel
float etaBE(const unsigned layer) const
Get the eta in one layer of the EM Calo.
Gaudi::Property< double > m_narrowDeltaEta
Narrow windows.
Description of a calorimeter cluster.
double deltaPhi(double phiA, double phiB)
delta Phi in range [-pi,pi[
AthReentrantAlgorithm()
Default constructor:
Gaudi::Accumulators::Counter m_SelectedTracks
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override
Return this algorithm's output handles.
double deltaEta(const I4Momentum &p1, const I4Momentum &p2)
Computes efficiently .
virtual double eta() const
The pseudorapidity ( ) of the particle.
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_trackParticleContainerKey
::StatusCode StatusCode
StatusCode definition for legacy code.
Gaudi::Accumulators::Counter m_SelectedTRTTracks
Gaudi::Accumulators::Counter m_AllSiTracks
SG::ReadHandleKey< xAOD::CaloClusterContainer > m_clusterContainerKey
Names of input output collections.
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
ToolHandle< IEMExtrapolationTools > m_extrapolationTool
Tool for extrapolation.
virtual bool isValid() override final
Can the handle be successfully dereferenced?
DataObjIDColl m_extendedExtraObjects
Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.
virtual void renounce()=0
Gaudi::Accumulators::Counter m_SelectedClusters
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
Gaudi::Property< double > m_broadDeltaEta
Broad windows.
Gaudi::Property< bool > m_doForwardTracks
Private member flag to select forward tracks.
Gaudi::Property< double > m_narrowDeltaPhi
ToolHandle< IegammaCaloClusterSelector > m_egammaCaloClusterSelector
Tool to filter the calo clusters.
Gaudi::Accumulators::Counter m_SelectedFwdTracks
virtual StatusCode sysInitialize() override
Override sysInitialize.
bool isFCAL(const xAOD::CaloCluster *cluster)
return true if the cluster (or the majority of its energy) is in the FCAL0
Gaudi::Accumulators::Counter m_AllClusters
StatusCode initialize(bool used=true)
Eigen::Matrix< double, 3, 1 > Vector3D
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloDetDescrMgrKey
SG::ReadHandleKey< xAOD::CaloClusterContainer > m_fwdClusterContainerKey
Names of forward input output collections.
This class provides the client interface for accessing the detector description information common to...
SG::ReadDecorHandleKey< xAOD::TrackParticleContainer > m_trackParticleTimeDecorKey
#define ATH_MSG_WARNING(x)
Gaudi::Property< double > m_narrowRescale
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
Gaudi::Property< double > m_broadDeltaPhi
Class describing a TrackParticle.
Gaudi::Property< double > m_narrowRescaleBrem
bool selectTrack(const EventContext &ctx, const xAOD::CaloCluster *cluster, const xAOD::TrackParticle *track, bool trkTRT, const CaloDetDescrManager &caloDD) const
Broad track selection.
size_type size() const noexcept
Returns the number of elements in the collection.
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
virtual double e() const
The total energy of the particle.