attach_mrcc_path.h File Reference

#include "util/get_record_title.h"

Go to the source code of this file.

Functions

void attach_mrcc_path (JobC &jc, TString attachto)

Function Documentation

void attach_mrcc_path ( JobC jc,
TString  attachto 
)

Definition at line 3 of file attach_mrcc_path.h.

References JobCPathModule::Attach(), JobCModule::Cmd(), JobCPathModule::Create(), get_record_title(), JobC::Path, and JobCModule::Set().

00004 {
00005   TString RecTitle = get_record_title();
00006 
00007   jc.Path.Create("muonremoval",
00008                  "FiltTriggerPrescale::Ana ");
00009 
00010   jc.Path.Create("muonreco",
00011                  "RemoveMuon::Reco "
00012                  "StripCands::Reco "
00013                  "StripSRListModule::Reco "
00014                  "SliceSRListModule::Reco "
00015                  "TrackCamListModule::Reco "
00016                  "FitTrackCamListModule::Reco "
00017                  "ClusterSRListModule::Reco "
00018                  "SubShowerSRListModule::Reco "
00019                  "ShowerSRListModule::Reco "
00020                  "EventSRListModule::Reco "
00021                  "RecordSetupModule::Reco "
00022                  "NtpBDLite::Reco "
00023                  "NtpStModule::Get "
00024                  "NtpSRModule::Reco "
00025                  "NtpMRModule::Reco "
00026                  "Output::Put " );
00027 
00028   jc.Path.Attach("muonremoval", "muonreco");
00029   //configure filters
00030 
00031   jc.Path("muonremoval").SetAllFilters(1);
00032 
00033   jc.Path("muonremoval").Mod("FiltTriggerPrescale").Set("Spill_N=1    Spill_M=3");
00034 
00035   jc.Path("muonreco").SetAllFilters(0);
00036 
00037   //configure my code
00038   jc.Path("muonreco").Mod("RemoveMuon").Set("StripListOut=stripdigitlist");
00039   jc.Path("muonreco").Mod("StripCands").Set("keepdigitlist=stripdigitlist");
00040 
00041   //Post Muon removal reconstruction
00042   jc.Path("muonreco").Mod("StripSRListModule").Set("ListIn=canddigitlist");
00043   jc.Path("muonreco").Mod("SliceSRListModule").Set("SliceListAlgConfig=NearBeam");
00044   jc.Path("muonreco").Mod("SliceSRListModule").Set("ListIn=CandStripList");
00045   jc.Path("muonreco").Mod("TrackCamListModule").Set("TrackListAlgConfig=default");
00046   jc.Path("muonreco").Mod("TrackCamListModule").Set("NameListIn=CandSliceList");
00047   jc.Path("muonreco").Mod("TrackCamListModule").Set("NameListOut=CandTrackSRList");
00048   jc.Path("muonreco").Mod("FitTrackCamListModule").Set("NameListIn=CandTrackSRList");
00049   jc.Path("muonreco").Mod("ClusterSRListModule").Set("ClusterListAlgConfig=NearBeam");
00050   jc.Path("muonreco").Mod("SubShowerSRListModule").Set("SubShowerSRListAlgConfig=default");
00051   jc.Path("muonreco").Mod("ShowerSRListModule").Set("ShowerListAlgorithm=AlgShowerSSList");
00052   jc.Path("muonreco").Mod("ShowerSRListModule").Set("ShowerListAlgConfig=default");
00053   jc.Path("muonreco").Mod("ShowerSRListModule").Set("ListOut=CandShowerSRList");
00054   jc.Path("muonreco").Mod("EventSRListModule").Set("EventListAlgorithm=AlgEventSSList");
00055   jc.Path("muonreco").Mod("EventSRListModule").Set("EventListAlgConfig=NearBeam");
00056 
00057   //configure output
00058   string outputfilename = "FileName=ntupleMRNT.root";
00059   jc.Path("muonreco").Mod("Output").Set(outputfilename.c_str());
00060   jc.Path("muonreco").Mod("NtpStModule").Set(RecTitle);
00061   jc.Path("muonreco").Mod("NtpStModule").Set("RecordName=MuonRemoved");
00062   jc.Path("muonreco").Mod("NtpSRModule").Set("UseStandard=1");
00063   jc.Path("muonreco").Mod("NtpSRModule").Set("RecordName=MuonRemoved");
00064 
00065   jc.Path("muonreco").Mod("Output").Cmd("DefineStream NtpSt NtpStRecord MuonRemoved");
00066   jc.Path("muonreco").Mod("Output").Cmd("DefineStream NtpMR NtpMRRecord");
00067   jc.Path("muonreco").Mod("Output").Set("Streams=NtpSt,NtpMR");
00068 
00069   jc.Path.Attach(attachto, "muonremoval");
00070 }


Generated on 25 Apr 2018 for loon by  doxygen 1.6.1