00001 #include "set_cand_output_bntp.h" 00002 #include "set_ntpst_output_bntp.h" 00003 00004 void attach_blinded_output(JobC& jc, TString attach_to) 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