Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
N21-02-25
DataQuality
TimePeak
Plots
getPredictions.C
Go to the documentation of this file.
1
#pragma once
2
3
#include "
CAFAna/Vars/GenieWeights.h
"
4
#include "
CAFAna/Vars/PPFXWeights.h
"
5
6
#include "
DataQuality/TimePeak/Plots/Includes.h
"
7
#include "
DataQuality/TimePeak/Plots/VarsAndCuts.h
"
8
#include "
DataQuality/TimePeak/Plots/CustomFunctions.h
"
9
#include "
DataQuality/TimePeak/Plots/GetSpectra.h
"
10
11
using namespace
ana
;
12
13
void
getPredictions
(
unsigned
int
timestamp
)
14
{
15
16
//we will only have to make predictions once
17
//this should make us more economic and efficient
18
//only data spectra will be made every time
19
20
//Approximate days in "Full" (P5 - 98/1484006400, P6 - 137/1499385600 , P7 -241/1530835200, P8 - 129/118 , P9 - 130 , P 10 - 143,
21
//provide the time you want to start from, and the number of days in the period you want the prediction for.
22
23
24
bool
makePred
= 0;
// false because the predictions already exist
25
if
(makePred){
26
//getPredictions(timestamp, 1, "Day");
27
//getPredictions(timestamp, 7, "Week");
28
//getPredictions(timestamp, 30, "Month");
29
getPredictions
(timestamp, 98,
"Full"
);
30
}
31
32
bool
makeData = 0;
// change def to be of the one wanted
33
if
(makeData){
34
//getData(timestamp, 1, "Day", "prod_caf_R19-11-18-prod5reco.r_fd_numi_period5_v1_goodruns");
35
//getData(timestamp, 7, "Week", "prod_caf_R19-11-18-prod5reco.r_fd_numi_period5_v1_goodruns");
36
//getData(timestamp, 30, "Month", "prod_caf_R19-11-18-prod5reco.r_fd_numi_period5_v1_goodruns");
37
getData
(timestamp, 152,
"Full"
,
"prod_caf_R19-11-18-prod5reco.r_fd_numi_period10_v1_goodruns"
);
38
39
}
40
41
42
}
ana
Cuts and Vars for the 2020 FD DiF Study.
Definition:
vars.h:6
getData
void getData(int sampleCut=9, std::string period="full", std::string anaCut="3A", bool energy3a=true, bool optBin=true)
Definition:
getData.C:33
VarsAndCuts.h
GetSpectra.h
makePred
void makePred(bool usesysts=true, bool useFakeNDData=false)
Definition:
makePred.C:64
CustomFunctions.h
Includes.h
PPFXWeights.h
getPredictions
void getPredictions(std::string hornCurrStr, std::string outDir, bool splitNDByQuants=false)
Definition:
getPredictions.C:29
GenieWeights.h
submit_nova_art.timestamp
timestamp
Definition:
submit_nova_art.py:706
Generated on Thu Feb 25 2021 14:12:36 for NOvA by
1.8.11