00001 void far_cosmic_mc_configure(JobCPath& path)
00002 {
00003 JobCModule& filterli = path.Mod("FilterLIModule");
00004 filterli.Set("LIFinderName=SimplePatternFinder");
00005
00006 filterli.Set("MaxNDigits=1100");
00007
00008 path.Mod("ChopModule").Set("ChopAlgorithm=AlgChopListFar");
00009
00010 JobCModule& biggestchop = path.Mod("BiggestChopModule");
00011 biggestchop.Set("MinEnergy=0.0");
00012 biggestchop.Set("OmitLiEvents=1");
00013 biggestchop.Set("LiVetoWindowLow=-1.0e-6");
00014 biggestchop.Set("LiVetoWindowHigh=31.0e-6");
00015
00016 path.Mod("SliceSRListModule").Set("SliceListAlgConfig=FarCosmic");
00017 path.Mod("ClusterSRListModule").Set("ClusterListAlgConfig=FarCosmic");
00018 path.Mod("ShowerSRListModule").Set("ShowerListAlgConfig=FarCosmic");
00019
00020 JobCModule& trackcam = path.Mod("TrackCamListModule");
00021 trackcam.Set("TrackListAlgConfig=Cosmic");
00022 trackcam.Set("NameListIn=CandSliceList");
00023 trackcam.Set("NameListOut=CandTrackSRList");
00024
00025 JobCModule& fittrackcam = path.Mod("FitTrackCamListModule");
00026 fittrackcam.Set("NameListIn=CandTrackSRList");
00027 fittrackcam.Set("UseGeoSwimmer=1");
00028
00029 JobCModule& eventsr = path.Mod("EventSRListModule");
00030 eventsr.Set("EventListAlgorithm=AlgEventSRList");
00031 eventsr.Set("EventListAlgConfig=FarCosmic");
00032
00033 JobCModule& demux = path.Mod("DeMuxDigitListModule");
00034 demux.Set("NameListOut=altdemux");
00035 demux.Set("SwitchPersToTemp=1");
00036
00037
00038 demux.Set("DeMuxDigitListAlgConfig=devel");
00039
00040 path.Mod("StripSRListModule").Set("ListIn=altdemux");
00041
00042 JobCModule& filterdigit = path.Mod("FilterDigitListModule");
00043 filterdigit.Set("FilterDigitListAlgorithm=AlgFilterDigitList");
00044 filterdigit.Set("SwitchPersToTemp=1");
00045
00046
00047
00048 BfldLoanPool* bfldpool = BfldLoanPool::Instance();
00049 bfldpool->Set("UseDCSCoilDir=0");
00050 bfldpool->Update();
00051 }