All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Flux.h
Go to the documentation of this file.
2 
3 #include "sbnanaobj/StandardRecord/Proxy/FwdDeclare.h"
4 
5 namespace ana
6 {
7  bool IsCCQEOnArgon(const caf::SRTrueInteractionProxy* nu, int pdg);
8 
9  bool IsNCQEOnArgon(const caf::SRTrueInteractionProxy* nu, int pdg);
10 
11  class FluxTimesNuclei: public Spectrum
12  {
13  public:
14  /// pdg PDG code for neutrino, -14,-12,+12,14
16  const Cut& fidvol, int pdg);
17 
18  TH1D* ToTH1(double exposure,
19  Color_t col = kBlack,
20  Style_t style = kSolid,
21  EBinType bintype = kBinContent);
22  protected:
23  int fPdg;
24  };
25 }
Represent the binning of a Spectrum's x-axis.
Definition: Binning.h:18
var pdg
Definition: selectors.fcl:14
tuple loader
Definition: demo.py:7
TH1D * ToTH1(double exposure, Color_t col=kBlack, Style_t style=kSolid, EBinType bintype=kBinContent)
Definition: Flux.cxx:68
def style
Definition: util.py:237
process_name opflashCryoW ana
Representation of a spectrum in any variable, with associated POT.
Definition: Spectrum.h:30
FluxTimesNuclei(SpectrumLoaderBase &loader, const Binning &bins, const Cut &fidvol, int pdg)
pdg PDG code for neutrino, -14,-12,+12,14
Definition: Flux.cxx:56
Base class for the various types of spectrum loader.
bool IsNCQEOnArgon(const caf::SRTrueInteractionProxy *nu, int pdg)
Definition: Flux.cxx:22
bool IsCCQEOnArgon(const caf::SRTrueInteractionProxy *nu, int pdg)
Definition: Flux.cxx:10
BEGIN_PROLOG SN nu