Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Dogwood/headers/io/attach_blinded_output.h

Go to the documentation of this file.
00001 #include "set_cand_output_bntp.h"
00002 #include "set_ntpst_output_bntp.h"
00003 
00004 void attach_blinded_output(JobC& jc, JobCPath& attach_to)
00005   // TODO - look into other places that do blinding and apply this?
00006 {
00008   //  Setting the Output Path with Blinding       ////
00009   //    These files have the blinding algorithm   ////
00010   //    applied and thus will be the open files   ////
00012   //Create a new path where the Blinding module may be used
00013   //   all reco is of course the same
00014   JobCPath& blindpath = jc.Path.Create("blindpath",
00015                                        "Blinder::Ana "
00016                                        "Output::Put ");
00017 
00018   //Explicitly turn on the Blinder Filtering
00019   blindpath.Node("Blinder::Ana").FilterOn();
00020 
00021   //Set Candidate Output to CandS.root (reduced number of Spills
00022   //    are included in output)
00023   // This will become the ??.cand.?? file
00024   set_cand_output_bntp(jc.Path("blindpath").Mod("Output"), "CandS.root", true);
00025 
00026   JobCPath& blindSR = jc.Path.Create("blindSR",
00027                                      "Output::Put ");
00028 
00029   blindSR.SetAllFilters(false);
00030 
00031   //Set the ntuple output to ntupleSt.root (reduced number of Spills
00032   //  included in output)
00033   // this will become the ??.sntp.?? file
00034   set_ntpst_output_bntp(blindSR.Mod("Output"), "ntupleStS.root", true);
00035 
00036   blindpath.Attach(&blindSR);
00037   attach_to.Attach(&blindpath);
00038 }

Generated on Mon Feb 15 11:06:23 2010 for loon by  doxygen 1.3.9.1