Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions Detectors/Base/include/DetectorsBase/Detector.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@

#include <fairmq/FwdDecls.h>

class TParticle;

namespace o2::base
{

Expand Down Expand Up @@ -183,6 +185,11 @@ class Detector : public FairDetector
return trackID + (trackID < nprimaries ? primaryOffset : secondaryOffset);
}

// Hook called at the end of the transport of an event (or of a sub-event in a simulation worker),
// before the hits are written/shipped. It receives the primaries of the (sub-)event and allows
// detectors to create hits directly from them (fast simulation without transport).
virtual void finishEventHook(const std::vector<TParticle>& /*primaries*/) {}

// interfaces to attach properly encoded hit information to a FairMQ message
// and to decode it
virtual void attachHits(fair::mq::Channel&, fair::mq::Parts&) = 0;
Expand Down
3 changes: 0 additions & 3 deletions Detectors/ZDC/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@
# granted to it by virtue of its status as an Intergovernmental Organization
# or submit itself to any jurisdiction.

if (onnxruntime_FOUND)
add_subdirectory(fastsimulation)
endif()
add_subdirectory(base)
add_subdirectory(simulation)
add_subdirectory(reconstruction)
Expand Down
1 change: 1 addition & 0 deletions Detectors/ZDC/base/include/ZDCBase/Constants.h
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@ constexpr int DbgExtra = 4;
// TODO: CcdbApi and BasicCCDBManager would also take string_view as an argument

const std::string CCDBPathConfigSim = "ZDC/Config/Sim";
const std::string CCDBPathFastSimModel = "ZDC/Config/FastSimModel";
const std::string CCDBPathConfigModule = "ZDC/Config/Module";
const std::string CCDBPathRecoConfigZDC = "ZDC/Calib/RecoConfigZDC";
const std::string CCDBPathTDCCalib = "ZDC/Calib/TDCCalib";
Expand Down
24 changes: 0 additions & 24 deletions Detectors/ZDC/fastsimulation/CMakeLists.txt

This file was deleted.

37 changes: 0 additions & 37 deletions Detectors/ZDC/fastsimulation/include/Config.h

This file was deleted.

162 changes: 0 additions & 162 deletions Detectors/ZDC/fastsimulation/include/FastSimulations.h

This file was deleted.

88 changes: 0 additions & 88 deletions Detectors/ZDC/fastsimulation/include/Processors.h

This file was deleted.

Loading
Loading