#include "set_cand_output_bntp.h"#include "set_ntpst_output_bntp.h"Go to the source code of this file.
Functions | |
| void | attach_blinded_output (JobC &jc, TString attach_to) |
|
||||||||||||
|
Definition at line 4 of file Cedar_phy/restructure-chris/headers/io/attach_blinded_output.h. References JobCPathModule::Attach(), JobCPathModule::Create(), jc, JobC::Path, set_cand_output_bntp(), and set_ntpst_output_bntp(). 00005 {
00007 // Setting the Output Path with Blinding ////
00008 // These files have the blinding algorithm ////
00009 // applied and thus will be the open files ////
00011 //Create a new path where the Blinding module may be used
00012 // all reco is of course the same
00013 jc.Path.Create("blindpath",
00014 "Blinder::Ana "
00015 "Output::Put ");
00016
00017 //Explicitly turn on the Blinder Filtering
00018 jc.Path("blindpath").Node("Blinder::Ana").FilterOn();
00019
00020 //Set Candidate Output to CandS.root (reduced number of Spills
00021 // are included in output)
00022 // This will become the ??.cand.?? file
00023 set_cand_output_bntp(jc.Path("blindpath").Mod("Output"), "CandS.root", true);
00024
00025 jc.Path.Create("blindSR",
00026 "Output::Put ");
00027
00028 jc.Path("blindSR").SetAllFilters(false);
00029
00030 //Set the ntuple output to ntupleSt.root (reduced number of Spills
00031 // included in output)
00032 // this will become the ??.sntp.?? file
00033 set_ntpst_output_bntp(jc.Path("blindSR").Mod("Output"), "ntupleStS.root", true);
00034
00035 jc.Path.Attach("blindpath","blindSR"); //Attach to the blinded branch
00036 jc.Path.Attach(attach_to, "blindpath"); //Attach to the blinded branch
00037 }
|
1.3.9.1