far_cosmic_mc_configure.h File Reference

Go to the source code of this file.

Functions

void far_cosmic_mc_configure (JobCPath &path)

Function Documentation

void far_cosmic_mc_configure ( JobCPath path  ) 

Definition at line 1 of file Dogwood/headers/far_cosmic_mc/far_cosmic_mc_configure.h.

References BfldLoanPool::Instance(), JobCPath::Mod(), CfgConfigurable::Set(), JobCModule::Set(), and CfgConfigurable::Update().

00002 {
00003   JobCModule& filterli = path.Mod("FilterLIModule");
00004   filterli.Set("LIFinderName=SimplePatternFinder");
00005   //This setting given by Andy Blake 1/9/2007 to filter out the bulk of the Light Injection
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"); //No cut.
00012   biggestchop.Set("OmitLiEvents=1"); //kill LI
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   //SwitchPersToTemp=1 Do not write out original CandDigitList
00037   //SwitchPersToTemp=0 Do write out original CandDigitList
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   // For dogwood need to tell BField to respect the field sign for from the
00047   // filename instead of CoilTools::IsReverse() which isn't set for MC.
00048   BfldLoanPool* bfldpool = BfldLoanPool::Instance();
00049   bfldpool->Set("UseDCSCoilDir=0");
00050   bfldpool->Update(); // don't forget to signal it to update
00051 }


Generated on 19 Jan 2018 for loon by  doxygen 1.6.1