Skip to content

Commit

Permalink
Remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
austinschneider committed Oct 18, 2024
1 parent 71747ee commit 2716a7a
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 16 deletions.
6 changes: 0 additions & 6 deletions projects/injection/public/SIREN/injection/Injector.h
Original file line number Diff line number Diff line change
Expand Up @@ -116,14 +116,11 @@ friend cereal::access;

template<typename Archive>
void save(Archive & archive, std::uint32_t const version) const {
std::cout << "Saving Injector" << std::endl;
std::cout << "Version: " << version << std::endl;
if(version == 0) {
archive(::cereal::make_nvp("EventsToInject", events_to_inject));
archive(::cereal::make_nvp("InjectedEvents", injected_events));
archive(::cereal::make_nvp("DetectorModel", detector_model));
// archive(::cereal::make_nvp("SIRENRandom", random));
// std::cout << "saved SIRENRandom\n";
archive(::cereal::make_nvp("PrimaryProcess", primary_process));
archive(::cereal::make_nvp("SecondaryProcesses", secondary_processes));
} else {
Expand All @@ -133,8 +130,6 @@ friend cereal::access;

template<typename Archive>
void load(Archive & archive, std::uint32_t const version) {
std::cout << "Loading Injector" << std::endl;
std::cout << "Version: " << version << std::endl;
if(version == 0) {
std::shared_ptr<injection::PrimaryInjectionProcess> _primary_process;
std::vector<std::shared_ptr<injection::SecondaryInjectionProcess>> _secondary_processes;
Expand All @@ -143,7 +138,6 @@ friend cereal::access;
archive(::cereal::make_nvp("InjectedEvents", injected_events));
archive(::cereal::make_nvp("DetectorModel", detector_model));
// archive(::cereal::make_nvp("SIRENRandom", random));
// std::cout << "loaded SIRENRandom\n";
archive(::cereal::make_nvp("PrimaryProcess", _primary_process));
archive(::cereal::make_nvp("SecondaryProcesses", _secondary_processes));
SetPrimaryProcess(_primary_process);
Expand Down
4 changes: 0 additions & 4 deletions projects/injection/public/SIREN/injection/serializable.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
#define SIREN_injection_serializable_H

#include "SIREN/injection/Weighter.h"
//#include "SIREN/injection/RangedLeptonInjector.h"
//#include "SIREN/injection/DecayRangeLeptonInjector.h"
//#include "SIREN/injection/CylinderVolumeLeptonInjector.h"
//#include "SIREN/injection/ColumnDepthLeptonInjector.h"
#include "SIREN/injection/Process.h"
#include "SIREN/injection/Injector.h"

Expand Down
4 changes: 0 additions & 4 deletions projects/injection/public/SIREN/injection/siren_injection.h
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
#ifndef SIREN_injection_injection_H
#define SIREN_injection_injection_H

//#include "SIREN/injection/ColumnDepthLeptonInjector.h"
//#include "SIREN/injection/CylinderVolumeLeptonInjector.h"
//#include "SIREN/injection/DecayRangeLeptonInjector.h"
#include "SIREN/injection/Injector.h"
#include "SIREN/injection/Process.h"
//#include "SIREN/injection/RangedLeptonInjector.h"
#include "SIREN/injection/Weighter.h"
#include "SIREN/injection/WeightingUtils.h"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#ifndef SIREN_serializable_H
#define SIREN_serializable_H

//#include "SIREN/interactions/HNLDecay.h"
#include "SIREN/interactions/DarkNewsCrossSection.h"
#include "SIREN/interactions/NeutrissimoDecay.h"
#include "SIREN/interactions/DarkNewsDecay.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
#include "SIREN/interactions/DipoleFromTable.h"
#include "SIREN/interactions/DummyCrossSection.h"
#include "SIREN/interactions/ElasticScattering.h"
//#include "SIREN/interactions/HNLDecay.h"
#include "SIREN/interactions/HNLFromSpline.h"
#include "SIREN/interactions/Interaction.h"
#include "SIREN/interactions/InteractionCollection.h"
Expand Down

0 comments on commit 2716a7a

Please sign in to comment.