Skip to content
Merged
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
10 changes: 0 additions & 10 deletions Generators/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@ o2_add_library(Generators
src/GeneratorTParticleParam.cxx
src/GeneratorService.cxx
src/FlowMapper.cxx
src/TPCLoopers.cxx
src/TPCLoopersParam.cxx
$<$<BOOL:${pythia_FOUND}>:src/GeneratorPythia8.cxx>
$<$<BOOL:${pythia_FOUND}>:src/DecayerPythia8.cxx>
$<$<BOOL:${pythia_FOUND}>:src/GeneratorPythia8Param.cxx>
Expand All @@ -55,7 +53,6 @@ o2_add_library(Generators
PUBLIC_LINK_LIBRARIES FairRoot::Base O2::SimConfig O2::CommonUtils O2::DetectorsBase O2::ZDCBase
O2::SimulationDataFormat ${pythiaTarget} ${hepmcTarget}
FairRoot::Gen
onnxruntime::onnxruntime
TARGETVARNAME targetName)

if(pythia_FOUND)
Expand All @@ -66,8 +63,6 @@ if(HepMC3_FOUND)
target_compile_definitions(${targetName} PUBLIC GENERATORS_WITH_HEPMC3)
endif()

target_compile_definitions(${targetName} PUBLIC GENERATORS_WITH_TPCLOOPERS)

set(headers
include/Generators/Generator.h
include/Generators/Trigger.h
Expand All @@ -93,10 +88,6 @@ set(headers
include/Generators/FlowMapper.h
)

list(APPEND headers
include/Generators/TPCLoopers.h
include/Generators/TPCLoopersParam.h)

if(pythia_FOUND)
list(APPEND headers
include/Generators/GeneratorPythia8.h
Expand Down Expand Up @@ -167,5 +158,4 @@ endif()

o2_data_file(COPY share/external DESTINATION Generators)
o2_data_file(COPY share/egconfig DESTINATION Generators)
o2_data_file(COPY share/TPCLoopers DESTINATION Generators)
o2_data_file(COPY share/pythia8 DESTINATION Generators)
13 changes: 0 additions & 13 deletions Generators/include/Generators/Generator.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@
#include "FairGenerator.h"
#include "TParticle.h"
#include "Generators/Trigger.h"
#ifdef GENERATORS_WITH_TPCLOOPERS
#include "Generators/TPCLoopers.h"
#include "Generators/TPCLoopersParam.h"
#endif
#include <functional>
#include <vector>
#include <unordered_map>
Expand Down Expand Up @@ -77,7 +73,6 @@ class Generator : public FairGenerator
/** methods to override **/
virtual Bool_t generateEvent() = 0; // generates event (in structure internal to generator)
virtual Bool_t importParticles() = 0; // fills the mParticles vector (transfer from generator state)
Bool_t finalizeEvent(); // final part of event generation that can be customised using external macros
virtual void updateHeader(o2::dataformats::MCEventHeader* eventHeader) {};
Bool_t triggerEvent();

Expand Down Expand Up @@ -159,8 +154,6 @@ class Generator : public FairGenerator
private:
void updateSubGeneratorInformation(o2::dataformats::MCEventHeader* header) const;

// loopers flag
Bool_t mAddTPCLoopers = kFALSE; // Flag is automatically set to true if TPC is in readout detectors, loopers are not vetoed and transport is enabled
// collect an ID and a short description of sub-generator entities
std::unordered_map<int, std::string> mSubGeneratorsIdToDesc;
// the current ID of the sub-generator used in the current event (if applicable)
Expand All @@ -169,12 +162,6 @@ class Generator : public FairGenerator
// global static information about (upper limit of) number of events to be generated
static unsigned int gTotalNEvents;

#ifdef GENERATORS_WITH_TPCLOOPERS
// Loopers generator instance
std::unique_ptr<o2::eventgen::GenTPCLoopers> mTPCLoopersGen = nullptr;
bool initTPCLoopersGen();
#endif

ClassDefOverride(Generator, 2);

}; /** class Generator **/
Expand Down
148 changes: 0 additions & 148 deletions Generators/include/Generators/TPCLoopers.h

This file was deleted.

54 changes: 0 additions & 54 deletions Generators/include/Generators/TPCLoopersParam.h

This file was deleted.

79 changes: 0 additions & 79 deletions Generators/share/TPCLoopers/README.md

This file was deleted.

28 changes: 0 additions & 28 deletions Generators/share/TPCLoopers/ScalerComptonParams.json

This file was deleted.

Loading
Loading