10 #include "art_root_io/TFileService.h" 70 fMuCXViewW = tfs->make<TH1F>(
"MuCxViewW",
";w (cm);Systematic Scale Factor", numBins, -1.*halfWidth, halfWidth);
71 fXViewW = tfs->make<TH1F>(
"xViewW",
";w (cm);Systematic Scale Factor", numBins, -1.*halfWidth, halfWidth);
72 fYViewW = tfs->make<TH1F>(
"yViewW",
";w (cm);Systematic Scale Factor", numBins, -1.*halfWidth, halfWidth);
80 for(
int b = 1;
b < fXViewW->GetNbinsX(); ++
b){
81 const double w = fXViewW->GetBinCenter(
b);
84 fXViewW ->Fill(w, cal->SystematicUncertaintyScale(
geo::kX, 0, w));
85 fYViewW ->Fill(w, cal->SystematicUncertaintyScale(
geo::kY, 0, w));
TH1F * fMuCXViewW
W for the X view Muon Catcher.
void reconfigure(fhicl::ParameterSet const &pset)
~SystematicUncertaintyScaleAna()
TH1F * fXViewW
W for the X view.
Vertical planes which measure X.
TH1F * fYViewW
W for the Y view.
EDAnalyzer(fhicl::ParameterSet const &pset)
DEFINE_ART_MODULE(TestTMapFile)
Horizontal planes which measure Y.
SystematicUncertaintyScaleAna(fhicl::ParameterSet const &pset)
novadaq::cnv::DetId DetId() const
Prefer ds::DetectorService::DetId() instead.
Near Detector in the NuMI cavern.
double DetHalfWidth() const
void analyze(art::Event const &evt)
const unsigned int FirstPlaneInMuonCatcher() const
Returns the index of the first plane contained in the muon catcher.