Classes | Variables
std_candles Namespace Reference

Classes

class  DataMCPlots
 
class  PlotConfig
 
class  StdCandlesPlotter
 

Variables

bool TESTING = False
 
string TREE_NAME = "stdcandles/MichelE"
 
string OUT_LOCATION = "/nova/ana/users/jwolcott/stdcandles"
 
list OUTPUT_TYPES = ["eps", "png", "root"]
 
list TRUE_ORIGIN_PDGS = [11, 13, 111, 211, 2112, 2212, 0]
 
dictionary TRUE_ORIGIN_COLORS
 
dictionary LEGEND_ENTRIES
 
dictionary NUCLEUS_LABELS
 
dictionary NUCLEUS_COLORS
 
 PARENTFRONTZ_RANGE = None
 
int NEUTRON_REWEIGHT = 1
 
tuple MICHELID_RANGE = (-9, float("inf"))
 
list ENERGY_BINS = [0.5*i for i in range(120)]
 
list ZCOORD_BINS = [0,]+range(10, 1160, 50)
 
list COMBINATION_PLOTS
 
dictionary NTUPLE_FILELISTS
 
 pl = DataMCPlots()
 
 NTUPLE_FILELIST = NTUPLE_FILELISTS[sys.argv[1]]
 

Detailed Description

  std_candles.py:
    Plots for energy standard candles studies.
    
    Requires ntuple(s) created by the EnergyStandardCandles_module.cc in this package.
    
  Original author: J. Wolcott <jwolcott@fnal.gov>
     Date: December 2015

Variable Documentation

list std_candles.COMBINATION_PLOTS
Initial value:
1 = [
2  PlotConfig( name="MichelEnergy", path="MichelEPlots/MichelEnergy", mc_norm_factor=PlotConfig.POT_NORM ),
3  PlotConfig( name="MichelPID", path="MichelEPlots/MichelPID", mc_norm_factor=PlotConfig.POT_NORM ),
4  PlotConfig( name="DeltaT", path="MichelEPlots/DeltaT", mc_norm_factor=PlotConfig.POT_NORM ),
5  PlotConfig( name="NHits", path="MichelEPlots/NHits", mc_norm_factor=PlotConfig.POT_NORM ),
6  PlotConfig( name="HitE", path="MichelEPlots/HitE", mc_norm_factor=PlotConfig.POT_NORM ),
7  PlotConfig( name="HitTimeRMS", path="MichelEPlots/HitTimeRMS", mc_norm_factor=PlotConfig.POT_NORM ),
8  PlotConfig (name="MeanHitE", path="MichelEPlots/MeanHitE", mc_norm_factor=PlotConfig.POT_NORM ),
9  PlotConfig (name="ParentFrontZ", path="MichelEPlots/ParentFrontZ", mc_norm_factor=PlotConfig.POT_NORM ),
10 ]

Definition at line 491 of file std_candles.py.

list std_candles.ENERGY_BINS = [0.5*i for i in range(120)]

Definition at line 85 of file std_candles.py.

dictionary std_candles.LEGEND_ENTRIES
Initial value:
1 = {
2  11: "Michel e^{#pm}",
3  13: "#mu^{#pm}",
4  111: "#gamma from #pi^{0}",
5  211: "#pi^{#pm}",
6  2112: "#gamma from neutron capture",
7  2212: "p^{+}",
8  0: "Other",
9 }

Definition at line 50 of file std_candles.py.

tuple std_candles.MICHELID_RANGE = (-9, float("inf"))

Definition at line 80 of file std_candles.py.

int std_candles.NEUTRON_REWEIGHT = 1

Definition at line 78 of file std_candles.py.

std_candles.NTUPLE_FILELIST = NTUPLE_FILELISTS[sys.argv[1]]

Definition at line 679 of file std_candles.py.

dictionary std_candles.NTUPLE_FILELISTS
Initial value:
1 = {
2  "test": "/nova/ana/users/jwolcott/ntuple_lists/test_list_MC.txt",
3  "data": "/nova/ana/users/jwolcott/art/data/std_candles/playlist-jwolcott_data_ND_FA_small-20151208.txt",
4  "MC": "/nova/ana/users/jwolcott/art/mc/std_candles/playlist-jwolcott_MC_ND_FA_small-20151208.txt",
5  "PC": "/nova/ana/users/jwolcott/art/mc/pc_muplus_extraEM/playlist-jwolcott_pc_muplus_extraEM_small-20160108.txt",
6 }

Definition at line 663 of file std_candles.py.

dictionary std_candles.NUCLEUS_COLORS
Initial value:
1 = {
2  0: ROOT.kBlack,
3  1000160320: ROOT.kMagenta+4,
4  1000170350: ROOT.kBlue,
5  1000170370: ROOT.kRed,
6  1000220480: ROOT.kOrange+2,
7  1000220490: ROOT.kGreen+2,
8 }

Definition at line 66 of file std_candles.py.

dictionary std_candles.NUCLEUS_LABELS
Initial value:
1 = {
2  0: "Other",
3  1000170350: "^{35}Cl",
4  1000220480: "^{48}Ti",
5 }

Definition at line 60 of file std_candles.py.

string std_candles.OUT_LOCATION = "/nova/ana/users/jwolcott/stdcandles"

Definition at line 36 of file std_candles.py.

list std_candles.OUTPUT_TYPES = ["eps", "png", "root"]

Definition at line 37 of file std_candles.py.

std_candles.PARENTFRONTZ_RANGE = None

Definition at line 76 of file std_candles.py.

std_candles.pl = DataMCPlots()

Definition at line 675 of file std_candles.py.

Referenced by genie::PathLengthList.AddPathLength(), evdb::View2D.AddPolyLine(), evdb::View3D.AddPolyLine3D(), slid::LIDTraining.analyze(), genie::PathLengthList.AreAllZero(), noe.build_cell_lookup_table(), genie::SKKinematicsGenerator.CalculateKin_AtharSingleKaon(), g4n::G4Alg.CollectFLSHitsAndParticles(), genie::GMCJDriver.ComputeInteractionProbabilities(), genie::geometry::ROOTGeomAnalyzer.ComputePathLengthPDG(), genie::geometry::ROOTGeomAnalyzer.ComputePathLengths(), genie::PathLengthList.Copy(), trk::KalmanGeoHelper.CountMissedCellsOnLine(), ValidCalibPDF.DiblockTex(), extract_hadnucleus_xsec(), g4n::G4Alg.G4Alg(), genie::GMCJDriver.GeomAnalyzerPtr(), DrawUtils.GetBestYRange(), genie::geometry::ROOTGeomAnalyzer.GetMaxPathLengths(), genie::utils::mec.Getq0q3FromTlCostl(), genie::utils::mec.GetTlCostlFromq0q3(), kinematics(), KinematicsPlots(), lastUpdated(), genie::PathLengthList.LoadFromXml(), main(), DrawUtils.MakeRatio(), genie::geometry::ROOTGeomAnalyzer.MaxPathLengthsBoxMethod(), genie::geometry::ROOTGeomAnalyzer.MaxPathLengthsFluxMethod(), genie::PathLengthList.PathLengthList(), genie::PathLengthList.Print(), genie::geometry::PathSegmentList.Print(), genie::NuEPrimaryLeptonGenerator.ProcessEventRecord(), calib::TimingCalibration.produce(), caf::CAFMaker.produce(), art::MasterProductRegistry.productProduced(), genie::PathLengthList.SaveAsXml(), genie::PathLengthList.ScalePathLength(), SetGraphErrors(), genie::PathLengthList.SetPathLength(), cosrej::MakeNueCosRej.SparsenessAsymmetry(), validation(), and genie::NievesQELCCPXSec.XSec().

bool std_candles.TESTING = False

Definition at line 32 of file std_candles.py.

string std_candles.TREE_NAME = "stdcandles/MichelE"

Definition at line 34 of file std_candles.py.

dictionary std_candles.TRUE_ORIGIN_COLORS
Initial value:
1 = {
2  11: ROOT.kRed+1,
3  13: ROOT.kBlue+1,
4  211: ROOT.kGreen+2,
5  111: ROOT.kViolet+2,
6  2112: ROOT.kOrange-8,
7  2212: ROOT.kBlack,
8  0: ROOT.kGray,
9 }

Definition at line 41 of file std_candles.py.

list std_candles.TRUE_ORIGIN_PDGS = [11, 13, 111, 211, 2112, 2212, 0]

Definition at line 39 of file std_candles.py.

list std_candles.ZCOORD_BINS = [0,]+range(10, 1160, 50)

Definition at line 86 of file std_candles.py.