2 # File:    calibrations_icarus.fcl 
    3 # Purpose: Configuration for services delivering calibration information. 
    4 # Date:    August 9th, 2018 
    5 # Author:  Gianluca Petrillo (petrillo@fslac.stanford.edu) 
    7 # Included configurations: 
    8 # * `icarus_channelstatusservice`: standard ICARUS `ChannelStatusService` 
    9 # * `icarus_detpedestalservice`: standard ICARUS `DetPedestalService` 
   12 # * `icarus_calibration_services`: incudes all the calibration services 
   21 # ############################################################################## 
   22 # ChannelStatusService: noisy and dead channels 
   23 # ------------------------------------------------------------------------------ 
   25 # This configuration declare the channels all good. 
   29 #    services.ChannelStatusService: @local::icarus_channelstatusservice 
   31 icarus_channelstatusservice: @local::standard_siov_channelstatus_service # 
from `database_standard.fcl` (`larevt`)
 
   34 # ##############################################################################
 
   35 # DetPedestalService: 
TPC wire pedestal 
access 
   36 # ------------------------------------------------------------------------------
 
   37 # 
the default implementation with 
default  configuration has no database 
access,
 
   38 # 
and returns 
a fixed 
value no matter what.
 
   39 # We could 
override that 
value here.
 
   43 #    
services.DetPedestalService: @local::icarus_detpedestalservice
 
   45 icarus_detpedestalservice: {
 
   47   @table::standard_siov_detpedestal_service # 
from `database_standard.fcl` (`larevt`)
 
   49   # DefaultCollMean: 400 
   50   # DefaultIndMean: 2048 
   52 } # icarus_detpedestalservice
 
   55 # ############################################################################## 
   56 # Configuration preset: enables all calibration services 
   58 icarus_calibration_services: {
 
   60   DetPedestalService:             @local::icarus_detpedestalservice
 
   61   ChannelStatusService:           @local::icarus_channelstatusservice
 
   62   # ElectronicsCalibService:        @local::icarus_electronicscalib_service 
   64 } # icarus_calibration_services:
 
   67 # ############################################################################## 
BEGIN_PROLOG triggeremu_data_config_icarus settings PMTADCthresholds sequence::icarus_stage0_multiTPC_TPC physics sequence::icarus_stage0_EastHits_TPC physics sequence::icarus_stage0_WestHits_TPC physics producers purityana0 caloskimCalorimetryCryoE physics caloskimCalorimetryCryoW physics sequence::physics pathW services
return match has_match and(match.match_pdg==11 or match.match_pdg==-11)