 |
ATLAS Offline Software
|
Algorithm to dump some Event data to JSON.
More...
#include <DumpEventDataToJsonAlg.h>
|
| | DumpEventDataToJsonAlg (const std::string &name, ISvcLocator *pService) |
| | Algorithm constructor. More...
|
| |
| virtual | ~DumpEventDataToJsonAlg ()=default |
| |
| virtual StatusCode | initialize () override |
| | inherited from Algorithm More...
|
| |
| virtual StatusCode | execute () override |
| |
| virtual StatusCode | finalize () override |
| |
| template<> |
| nlohmann::json | getData (const xAOD::Jet &jet) |
| |
| template<> |
| nlohmann::json | getData (const xAOD::CaloCluster &clust) |
| |
| template<> |
| nlohmann::json | getData (const CaloCell &cell) |
| |
| template<> |
| nlohmann::json | getData (const xAOD::TrackParticle &tp) |
| |
| template<> |
| nlohmann::json | getData (const Trk::Track &track) |
| |
| template<> |
| nlohmann::json | getData (const xAOD::Muon &muon) |
| |
| template<> |
| nlohmann::json | getData (const xAOD::TauJet &tauJet) |
| |
| template<> |
| nlohmann::json | getData (const xAOD::Electron &electron) |
| |
| template<> |
| nlohmann::json | getData (const xAOD::Photon &photon) |
| |
| virtual StatusCode | sysInitialize () override |
| | Override sysInitialize. More...
|
| |
| virtual const DataObjIDColl & | extraOutputDeps () const override |
| | Return the list of extra output dependencies. More...
|
| |
| 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, V, H > &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 |
| |
|
| SG::ReadHandleKey< xAOD::EventInfo > | m_eventInfoKey {this, "EventInfoKey", "EventInfo", "Key for the Event Info"} |
| |
| SG::ReadHandleKeyArray< xAOD::TrackParticleContainer > | m_trackParticleKeys {this, "TrackParticleContainerKeys", {"InDetTrackParticles", "CombinedMuonTrackParticles"}, "Keys for TrackParticle Containers"} |
| |
| SG::ReadHandleKeyArray< xAOD::JetContainer > | m_jetKeys {this, "JetContainerKeys", {"AntiKt4EMTopoJets"}, "Keys for Jet Containers"} |
| |
| SG::ReadHandleKeyArray< xAOD::MuonContainer > | m_muonKeys {this, "MuonContainerKeys", {"Muons"}, "Keys for Muon Containers"} |
| |
| SG::ReadHandleKeyArray< xAOD::TauJetContainer > | m_tauJetKeys {this, "TauJetContainerKeys", {"TauJets"}, "Keys for Tau Containers"} |
| |
| SG::ReadHandleKeyArray< xAOD::ElectronContainer > | m_electronKeys {this, "ElectronContainerKeys", {"Electrons"}, "Keys for Electron Containers"} |
| |
| SG::ReadHandleKeyArray< xAOD::PhotonContainer > | m_photonKeys {this, "PhotonContainerKeys", {"Photons"}, "Keys for Photon Containers"} |
| |
| SG::ReadHandleKeyArray< xAOD::CaloClusterContainer > | m_caloClustersKeys {this, "CaloClusterContainerKeys", {"CaloCalTopoClusters"}, "Keys for CaloClusters Containers"} |
| |
| SG::ReadHandleKeyArray< CaloCellContainer > | m_caloCellKey {this, "CaloCellContainerKey", {"AllCalo"}, "Key for CaloCell Container"} |
| |
| SG::ReadHandleKeyArray< TrackCollection > | m_trackCollectionKeys {this, "TrackCollectionKeys", {"CombinedInDetTracks", "CombinedMuonTracks", "MuonSpectrometerTracks"}, "Keys for Track Containers"} |
| |
| SG::ReadHandleKeyArray< ActsTrk::TrackContainer > | m_trackContainerKeys {this, "TrackContainerKeys", {"ConvertedTracks"}, "Location of the converted Acts TrackContainer"} |
| |
| SG::ReadHandleKey< Muon::CscPrepDataContainer > | m_cscPrepRawDataKey {this, "CscPrepRawDataKey", "CSC_Clusters", "Key for CSC PRD Container"} |
| |
| SG::ReadHandleKey< Muon::MdtPrepDataContainer > | m_mdtPrepRawDataKey {this, "MdtPrepRawDataKey", "MDT_DriftCircles", "Key for MDT PRD Container"} |
| |
| SG::ReadHandleKey< Muon::RpcPrepDataContainer > | m_rpcPrepRawDataKey {this, "RpcPrepRawDataKey", "RPC_Measurements", "Key for RPC PRD Container"} |
| |
| SG::ReadHandleKey< Muon::TgcPrepDataContainer > | m_tgcPrepRawDataKey {this, "TgcPrepRawDataKey", "TGC_MeasurementsAllBCs", "Key for TGC PRD Container"} |
| |
| SG::ReadHandleKey< Muon::MMPrepDataContainer > | m_mmPrepRawDataKey {this, "MMPrepRawDataKey", "MM_Measurements", "Key for MM PRD Container"} |
| |
| SG::ReadHandleKey< Muon::sTgcPrepDataContainer > | m_stgcPrepRawDataKey {this, "sTgcPrepRawDataKey", "STGC_Measurements", "Key for sTGC PRD Container"} |
| |
| SG::ReadHandleKey< InDet::PixelClusterContainer > | m_pixelPrepRawDataKey {this, "PixelPrepRawDataKey", "PixelClusters", "Key for Pixel PRD Container"} |
| |
| SG::ReadHandleKey< InDet::SCT_ClusterContainer > | m_sctPrepRawDataKey {this, "SctPrepRawDataKey", "SCT_Clusters", "Key for SCT PRD Container"} |
| |
| SG::ReadHandleKey< InDet::TRT_DriftCircleContainer > | m_trtPrepRawDataKey {this, "TrtPrepRawDataKey", "TRT_DriftCircles", "Key for TRT PRD Container"} |
| |
| ToolHandle< Trk::IExtrapolationEngine > | m_extrapolator {this, "Extrapolator", "Trk::ExtrapolationEngine/AtlasExtrapolation"} |
| |
| SG::ReadHandleKey< ActsTrk::GeometryContext > | m_geometryContextKey |
| |
| Gaudi::Property< std::string > | m_outputJSON_Name {this, "OutputLocation", "EventData.json", "Default filename for "} |
| |
| Gaudi::Property< bool > | m_dumpTestEvent {this, "DumpTestEvent", false, "If true, prepend a test event with some calibration data in it."} |
| |
| Gaudi::Property< bool > | m_physlite {this, "PHYSLITE", false, "If true, do not try to access data which is not available in PHYSLITE files."} |
| |
| nlohmann::json | m_eventData |
| |
|
| Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &) |
| | specialization for handling Gaudi::Property<SG::VarHandleKey> More...
|
| |
| Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyArrayType &) |
| | specialization for handling Gaudi::Property<SG::VarHandleKeyArray> More...
|
| |
| Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleType &) |
| | specialization for handling Gaudi::Property<SG::VarHandleBase> More...
|
| |
| Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &t, const SG::NotHandleType &) |
| | specialization for handling everything that's not a Gaudi::Property<SG::VarHandleKey> or a <SG::VarHandleKeyArray> More...
|
| |
Algorithm to dump some Event data to JSON.
Definition at line 48 of file DumpEventDataToJsonAlg.h.
◆ StoreGateSvc_t
◆ DumpEventDataToJsonAlg()
| DumpEventDataToJsonAlg::DumpEventDataToJsonAlg |
( |
const std::string & |
name, |
|
|
ISvcLocator * |
pService |
|
) |
| |
◆ ~DumpEventDataToJsonAlg()
| virtual DumpEventDataToJsonAlg::~DumpEventDataToJsonAlg |
( |
| ) |
|
|
virtualdefault |
◆ addLink()
◆ 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);
253 return PBASE::declareProperty(
name,hndl,
doc);
◆ 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.
229 return PBASE::declareProperty(
name,hndl,
doc);
◆ 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.
338 return PBASE::declareProperty(
name, property,
doc);
◆ 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 DumpEventDataToJsonAlg::execute |
( |
| ) |
|
|
overridevirtual |
Definition at line 127 of file DumpEventDataToJsonAlg.cxx.
129 if (!eventInfo.isValid()) {
131 return StatusCode::SUCCESS;
140 <<
" Event num: " << eventInfo->eventNumber());
143 j[
"event number"] = eventInfo->eventNumber();
144 j[
"run number"] = eventInfo->runNumber();
163 ATH_MSG_VERBOSE(
"TrackStateContainer has "<< tcHandle->size() <<
" elements");
165 ATH_MSG_VERBOSE(
"Trying to load " << tcHandle.key() <<
" with " << tcHandle->size() <<
" tracks");
167 for (
auto track : *tc) {
169 j[
"TrackContainers"][tcHandle.key()].push_back(
tmp);
192 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 & AthAlgorithm::extraOutputDeps |
( |
| ) |
const |
|
overridevirtualinherited |
Return the list of extra output dependencies.
This list is extended to include symlinks implied by inheritance relations.
Definition at line 50 of file AthAlgorithm.cxx.
57 return Algorithm::extraOutputDeps();
◆ finalize()
| StatusCode DumpEventDataToJsonAlg::finalize |
( |
| ) |
|
|
overridevirtual |
◆ getActsData()
| nlohmann::json DumpEventDataToJsonAlg::getActsData |
( |
const typename ActsTrk::TrackContainer::ConstTrackProxy & |
track, |
|
|
const Acts::GeometryContext & |
gctx |
|
) |
| |
|
protected |
Definition at line 71 of file DumpEventDataToJsonAlg.cxx.
81 const Acts::BoundTrackParameters trackparams(
track.referenceSurface().getSharedPtr(),
83 auto trackPosition = trackparams.position(gctx);;
84 data[
"pos"].push_back(trackPosition.x());
85 data[
"pos"].push_back(trackPosition.y());
86 data[
"pos"].push_back(trackPosition.z());
88 unsigned int nTrackStates =
track.nTrackStates();
92 std::vector<typename ActsTrk::TrackContainer::ConstTrackStateProxy> trackStates;
93 trackStates.reserve(nTrackStates);
94 for (
auto trackstate :
track.trackStatesReversed()) {
95 trackStates.push_back(trackstate);
100 unsigned int count = 0;
101 for (
auto trackstate : trackStates) {
103 if (trackstate.hasSmoothed() && trackstate.hasReferenceSurface()) {
104 const Acts::BoundTrackParameters
params(trackstate.referenceSurface().getSharedPtr(),
105 trackstate.smoothed(),
106 trackstate.smoothedCovariance(),
111 data[
"pos"].push_back(
pos.x());
112 data[
"pos"].push_back(
pos.y());
113 data[
"pos"].push_back(
pos.z());
118 ATH_MSG_WARNING(
"TrackState "<<
count<<
" does not have smoothed state ["<<trackstate.hasSmoothed()<<
"] or reference surface ["<<trackstate.hasReferenceSurface()<<
"]. Skipping.");
◆ getAndFillArrayOfContainers()
Definition at line 255 of file DumpEventDataToJsonAlg.cxx.
263 for (
auto object : *handle) {
265 event[jsonType][handle.key()].push_back(
tmp);
268 return StatusCode::SUCCESS;
◆ getAndFillContainer()
Definition at line 489 of file DumpEventDataToJsonAlg.cxx.
493 return StatusCode::SUCCESS;
500 <<
" collections: ");
503 if (!
tmp.is_null()) {
504 ATH_MSG_VERBOSE(
"Writing " << jsonType <<
" : " << handle.key() <<
" with"
505 <<
tmp.size() <<
" elements:");
506 event[jsonType][handle.key()] =
tmp;
508 return StatusCode::SUCCESS;
◆ getData() [1/10]
◆ getData() [2/10]
Definition at line 373 of file DumpEventDataToJsonAlg.cxx.
392 track.trackParameters();
395 data[
"pos"].push_back(param->position().x());
396 data[
"pos"].push_back(param->position().y());
397 data[
"pos"].push_back(param->position().z());
401 track.measurementsOnTrack();
404 data[
"pos"].push_back(meas->globalPosition().x());
405 data[
"pos"].push_back(meas->globalPosition().y());
406 data[
"pos"].push_back(meas->globalPosition().z());
◆ getData() [3/10]
Definition at line 513 of file DumpEventDataToJsonAlg.cxx.
516 for (
const auto &coll : container) {
517 for (
const auto &prd : *coll) {
519 data[
"pos"] = {prd->globalPosition().x(), prd->globalPosition().y(),
520 prd->globalPosition().z()};
522 data[
"id"] =
id.get_compact();
523 colldata.push_back(
data);
◆ getData() [4/10]
◆ getData() [5/10]
◆ getData() [6/10]
◆ getData() [7/10]
Definition at line 416 of file DumpEventDataToJsonAlg.cxx.
421 std::vector<std::string>
quality = {
"Tight",
"Medium",
"Loose",
"VeryLoose"};
423 std::vector<std::string>
type = {
"Combined",
"Standalone",
"SegmentTagged",
424 "CaloTagged",
"SiAssociatedForward"};
425 data[
"Type"] =
type[
static_cast<unsigned int>(
muon.muonType())];
429 addLink(
muon.muonSpectrometerTrackParticleLink(),
data[
"LinkedTracks"]);
430 addLink(
muon.extrapolatedMuonSpectrometerTrackParticleLink(),
431 data[
"LinkedTracks"]);
◆ getData() [8/10]
◆ getData() [9/10]
◆ getData() [10/10]
Definition at line 307 of file DumpEventDataToJsonAlg.cxx.
309 data[
"chi2"] =
tp.chiSquared();
310 data[
"dof"] =
tp.numberDoF();
311 data[
"dparams"] = {
tp.d0(),
tp.z0(),
tp.phi0(),
tp.theta(),
tp.qOverP()};
314 ATH_MSG_VERBOSE(
"Physlite mode enabled. Not adding track parameters.");
319 data[
"pos"] = {
tp.perigeeParameters().position().x(),
320 tp.perigeeParameters().position().y(),
321 tp.perigeeParameters().position().z()};
322 for (
unsigned int i = 0;
i <
tp.numberOfParameters(); ++
i) {
323 data[
"pos"].push_back(
tp.parameterX(
i));
324 data[
"pos"].push_back(
tp.parameterY(
i));
325 data[
"pos"].push_back(
tp.parameterZ(
i));
328 std::vector<Amg::Vector3D> positions;
330 positions.push_back(
Amg::Vector3D(peri.position().x(), peri.position().y(),
331 peri.position().z()));
342 for (
auto &es : ecc.extrapolationSteps) {
348 positions.push_back(
pos);
352 positions.push_back(ecc.endParameters->position());
355 for (
auto pos : positions) {
356 data[
"pos"].push_back(
pos.x());
357 data[
"pos"].push_back(
pos.y());
358 data[
"pos"].push_back(
pos.z());
363 "Failure in extrapolation for Track with start parameters "
◆ initialize()
| StatusCode DumpEventDataToJsonAlg::initialize |
( |
| ) |
|
|
overridevirtual |
inherited from Algorithm
Definition at line 34 of file DumpEventDataToJsonAlg.cxx.
60 ATH_MSG_WARNING(
"No extrapolator found. Will not be able to extrapolate tracks.");
62 ATH_MSG_INFO(
"Extrapolator found. Will be able to extrapolate tracks.");
68 return StatusCode::SUCCESS;
◆ 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.
◆ 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.
◆ prependTestEvent()
| void DumpEventDataToJsonAlg::prependTestEvent |
( |
| ) |
|
|
protected |
Dumps a dummy event with some objects at specific eta/phi coordinates for calibration.
Definition at line 195 of file DumpEventDataToJsonAlg.cxx.
200 auto writeEtaPhiLabel = [](
float eta,
float phi) {
204 j[
"event number"] = 999;
205 j[
"run number"] = 999;
208 unsigned int maxSteps = 3;
212 phi =
static_cast<float>(
nPhi) /
static_cast<float>(maxSteps) *
215 eta =
static_cast<float>(
nEta) /
static_cast<float>(maxSteps) *
220 cluster[
"phi"] =
phi;
221 cluster[
"eta"] =
eta;
222 cluster[
"energy"] = 999.9;
223 cluster[
"label"] = writeEtaPhiLabel(
eta,
phi);
225 j[
"CaloClusters"][
"TestClusters"].push_back(cluster);
231 jet[
"energy"] = 99999.9;
232 jet[
"label"] = writeEtaPhiLabel(
eta,
phi);
233 j[
"Jets"][
"TestJets"].push_back(
jet);
243 for (
unsigned int i = 0;
i < 4; ++
i) {
245 track[
"pos"].push_back({trackPos.x(), trackPos.y(), trackPos.z()});
248 j[
"Tracks"][
"TestTracks"].push_back(
track);
◆ renounce()
◆ renounceArray()
◆ sysInitialize()
| StatusCode AthAlgorithm::sysInitialize |
( |
| ) |
|
|
overridevirtualinherited |
◆ 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_caloCellKey
◆ m_caloClustersKeys
◆ m_cscPrepRawDataKey
◆ m_detStore
◆ m_dumpTestEvent
| Gaudi::Property<bool> DumpEventDataToJsonAlg::m_dumpTestEvent {this, "DumpTestEvent", false, "If true, prepend a test event with some calibration data in it."} |
|
protected |
◆ m_electronKeys
◆ m_eventData
◆ m_eventInfoKey
◆ m_evtStore
◆ m_extendedExtraObjects
| DataObjIDColl AthAlgorithm::m_extendedExtraObjects |
|
privateinherited |
◆ m_extrapolator
◆ m_geometryContextKey
Initial value:{
this, "ActsAlignmentKey", "ActsAlignment", "cond read key for the alignment"}
Definition at line 117 of file DumpEventDataToJsonAlg.h.
◆ m_jetKeys
◆ m_mdtPrepRawDataKey
◆ m_mmPrepRawDataKey
◆ m_muonKeys
◆ m_outputJSON_Name
| Gaudi::Property<std::string> DumpEventDataToJsonAlg::m_outputJSON_Name {this, "OutputLocation", "EventData.json", "Default filename for "} |
|
protected |
◆ m_photonKeys
◆ m_physlite
| Gaudi::Property<bool> DumpEventDataToJsonAlg::m_physlite {this, "PHYSLITE", false, "If true, do not try to access data which is not available in PHYSLITE files."} |
|
protected |
◆ m_pixelPrepRawDataKey
◆ m_rpcPrepRawDataKey
◆ m_sctPrepRawDataKey
◆ m_stgcPrepRawDataKey
◆ m_tauJetKeys
◆ m_tgcPrepRawDataKey
◆ m_trackCollectionKeys
| SG::ReadHandleKeyArray<TrackCollection> DumpEventDataToJsonAlg::m_trackCollectionKeys {this, "TrackCollectionKeys", {"CombinedInDetTracks", "CombinedMuonTracks", "MuonSpectrometerTracks"}, "Keys for Track Containers"} |
|
protected |
◆ m_trackContainerKeys
◆ m_trackParticleKeys
◆ m_trtPrepRawDataKey
◆ m_varHandleArraysDeclared
◆ m_vhka
The documentation for this class was generated from the following files:
virtual double phi() const
The azimuthal angle ( ) of the particle.
char data[hepevt_bytes_allocation_ATLAS]
Scalar phi() const
phi method
virtual double eta() const
The pseudorapidity ( ) of the particle.
ToolHandle< Trk::IExtrapolationEngine > m_extrapolator
Scalar eta() const
pseudorapidity method
Dummy class used to allow special convertors to be called for surfaces owned by a detector element.
SG::ReadHandleKey< ActsTrk::GeometryContext > m_geometryContextKey
SG::ReadHandleKey< Muon::sTgcPrepDataContainer > m_stgcPrepRawDataKey
Scalar theta() const
theta method
SG::ReadHandleKeyArray< TrackCollection > m_trackCollectionKeys
SG::ReadHandleKey< InDet::PixelClusterContainer > m_pixelPrepRawDataKey
StatusCode getAndFillArrayOfContainers(nlohmann::json &event, const SG::ReadHandleKeyArray< TYPE > &keys, const std::string &jsonType)
SG::ReadHandleKey< Muon::RpcPrepDataContainer > m_rpcPrepRawDataKey
SG::ReadHandleKey< InDet::TRT_DriftCircleContainer > m_trtPrepRawDataKey
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
std::vector< SG::VarHandleKeyArray * > m_vhka
#define ATH_MSG_VERBOSE(x)
std::string to_string(const SectorProjector proj)
bool empty() const
Test if the key is blank.
void prependTestEvent()
Dumps a dummy event with some objects at specific eta/phi coordinates for calibration.
virtual double e() const
The total energy of the particle.
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
constexpr int nPhi
Default bin number of phi for vertex map.
SG::ReadHandleKeyArray< ActsTrk::TrackContainer > m_trackContainerKeys
virtual void setOwner(IDataHandleHolder *o)=0
SG::ReadHandleKey< Muon::TgcPrepDataContainer > m_tgcPrepRawDataKey
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
virtual double phi() const
The azimuthal angle ( ) of the particle.
SG::ReadHandleKey< Muon::MMPrepDataContainer > m_mmPrepRawDataKey
SG::ReadHandleKeyArray< xAOD::TauJetContainer > m_tauJetKeys
virtual StatusCode sysInitialize() override
Override sysInitialize.
Gaudi::Property< bool > m_dumpTestEvent
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override
Return this algorithm's output handles.
virtual double eta() const
The pseudorapidity ( ) of the particle.
SG::ReadHandleKeyArray< xAOD::JetContainer > m_jetKeys
::StatusCode StatusCode
StatusCode definition for legacy code.
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
Gaudi::Property< std::string > m_outputJSON_Name
SG::ReadHandleKey< InDet::SCT_ClusterContainer > m_sctPrepRawDataKey
Class to represent and store fit qualities from track reconstruction in terms of and number of degre...
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.
SG::ReadHandleKey< Muon::MdtPrepDataContainer > m_mdtPrepRawDataKey
nlohmann::json m_eventData
virtual void renounce()=0
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
StatusCode getAndFillContainer(nlohmann::json &event, const SG::ReadHandleKey< TYPE > &key, const std::string &jsonType)
nlohmann::json getActsData(const typename ActsTrk::TrackContainer::ConstTrackProxy &track, const Acts::GeometryContext &gctx)
void addLink(const TYPE &link, nlohmann::json &data)
SG::ReadHandleKeyArray< xAOD::CaloClusterContainer > m_caloClustersKeys
nlohmann::json getData(const TYPE &object)
SG::ReadHandleKey< Muon::CscPrepDataContainer > m_cscPrepRawDataKey
Gaudi::Property< bool > m_physlite
Eigen::Matrix< double, 3, 1 > Vector3D
SG::ReadHandleKeyArray< xAOD::ElectronContainer > m_electronKeys
DataObjIDColl m_extendedExtraObjects
SG::ReadHandleKeyArray< xAOD::PhotonContainer > m_photonKeys
#define ATH_MSG_WARNING(x)
void setRThetaPhi(Amg::Vector3D &v, double r, double theta, double phi)
sets radius, the theta and phi angle of a vector.
SG::ReadHandleKeyArray< CaloCellContainer > m_caloCellKey
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
AthAlgorithm()
Default constructor:
constexpr int nEta
Default bin number of eta for vertex map.
virtual double e() const
The total energy of the particle.
SG::ReadHandleKeyArray< xAOD::TrackParticleContainer > m_trackParticleKeys
SG::ReadHandleKeyArray< xAOD::MuonContainer > m_muonKeys