#include "set_cand_output_bntp.h"#include "set_ntpst_output_bntp.h"#include "../util/get_record_title.h"Go to the source code of this file.
Functions | |
| void | attach_output (JobC &jc, TString attachto, TString cand_fname="CandS.root", TString ntpst_name="ntupleStS.root", bool want_cand=true, bool cand_bntp=true, bool ntpst_bntp=true, TString path_name="NtpSR") |
|
||||||||||||||||||||||||||||||||||||
|
Definition at line 5 of file Cedar_phy/restructure-chris/headers/io/attach_output.h. References JobCPathModule::Attach(), JobCPathModule::Create(), get_record_title(), jc, JobC::Path, JobCModule::Set(), set_cand_output_bntp(), and set_ntpst_output_bntp(). 00013 {
00015 // Setting the Output Paths //
00016 // - This script produces the 3 output //
00017 // streams, cand, snts, sntp //
00019
00020 if(want_cand){
00021 //Set Candidate Output to CandS.root (all of the snarls included in output)
00022 jc.Path.Create("CandOut",
00023 "Output::Put "
00024 );
00025 set_cand_output_bntp(jc.Path("CandOut").Mod("Output"), cand_fname, cand_bntp);
00026 jc.Path.Attach(attachto, "CandOut");
00027 }
00028
00029 //Ntuple record has its own output file so needs its own output module
00030 jc.Path.Create(path_name,
00031 "NtpStModule::Get "
00032 "NtpSRModule::Reco "
00033 "Output::Put "
00034 );
00035 jc.Path(path_name).Mod("NtpSRModule").Set("UseStandard=1"); // use NtpSt
00036
00037 jc.Path(path_name).Mod("NtpStModule").Set(get_record_title(""));
00038
00039 set_ntpst_output_bntp(jc.Path(path_name).Mod("Output"), ntpst_name, ntpst_bntp);
00040
00041 jc.Path.Attach(attachto, path_name);
00042 }
|
1.3.9.1