Skip to content

Commit

Permalink
Bypassing OscillatableSpectrum at compilation time to focus on debugg…
Browse files Browse the repository at this point in the history
…ing SpectrumLoader(Base)
  • Loading branch information
mcasales committed Dec 18, 2023
1 parent 10c4aad commit f17fecd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
10 changes: 5 additions & 5 deletions CAFAna/Core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ set(Core_implementation_files
Loaders.cxx
LoadFromFile.cxx
OscCurve.cxx
OscillatableSpectrum.cxx
# OscillatableSpectrum.cxx
ProfilerSupport.cxx
Registry.cxx
# Registry.cxx
SpectrumLoader.cxx
SpectrumLoaderBase.cxx
StanUtils.cxx
SystShifts.cxx
# SystShifts.cxx
Utilities.cxx
)

Expand All @@ -32,12 +32,12 @@ set(Core_header_files
MultiVar.h
OscCalcFwdDeclare.h
OscCurve.h
OscillatableSpectrum.h
# OscillatableSpectrum.h
SpectrumLoader.h
SpectrumLoaderBase.h
StanTypedefs.h
StanUtils.h
SystShifts.h
# SystShifts.h
Utilities.h
Var.h
Weight.h
Expand Down
4 changes: 3 additions & 1 deletion CAFAna/Core/OscillatableSpectrum.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
#include "CAFAna/Core/Utilities.h"

#include "duneanaobj/StandardRecord/Proxy/SRProxy.h"
#include "duneanaobj/StandardRecord/SRInteraction.h"
#include "OscLib/IOscCalc.h"

#include "TDirectory.h"
Expand All @@ -21,12 +22,13 @@ namespace ana
{
namespace{
// Duplicate here because we can't include Vars.h
// These should be true informations, but I think we only have recoparticle atm
const Var kTrueE([](const caf::SRInteractionProxy* ixn)
{
//assert(sr->mc.nnu == 1);
assert(ixn->truth.size()>0);
/// uuumm what do we
return ixn->Enu;
return ixn->Enu.calo;
});
const Cut kHasNu([](const caf::SRInteractionProxy* ixn)
{
Expand Down

1 comment on commit f17fecd

@mcasales
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also skipping Registry and Systs stuff at the moment

Please sign in to comment.