All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
signalservices_sbnd.fcl
Go to the documentation of this file.
1 ####include "signalservices.fcl"
2 
3 BEGIN_PROLOG
4 
6 {
7 # If you change this number, the downstream calorimetry module needs a new calibration
8 # DeconNorm: 200
9  DeconNorm: 50
10 
11  ## If these are changed, NoiseFactVec also needs updating.
12  ADCTicksPerPCAtLowestASICGainSetting: 10696 #ADC/pC
13  ADCPerPCAtLowestASICGain: 10696 #ADC/pC
14 
15  #ASICGain: Options: (4.7, 7.8, 14, 25). Default: 7.8
16  ASICGainInMVPerFC: [14.0, 14.0, 14.0] #mV/fC
17  ShapeTimeConst: [2.0, 2.0, 2.0]
18 
19  # Noise Factor - rms ADCs @ lowest ASIC Gain Setting - 4.7 mV/fC
20  # index is shaping time constant, and plane
21 #
22 # 35ton noise simulation
23 # NoiseFactVec: [[ 1.12, 0.86, 0.60, 0.55 ], [ 1.12, 0.86, 0.60, 0.55 ], [ 0.89, 0.66, 0.48, 0.43 ]]
24 #
25  # To turn off Noise
26 # NoiseFactVec: [[0.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 0.0]]
27 #
28 # From 35ton, changed only 2 us values to be
29 # thermal noise from microboone public note 1016, used 4m wire length collection
30 # and 4*sqrt(2) for induction
31 # scaled all shaping times by ADC gain ratio 2.8/2.2 (SBND/uB)
32 # NoiseFactVec: [[ 1.43, 1.095, 0.9668, 0.70 ], [ 1.43, 1.095, 0.9668, 0.70], [ 1.13, 0.84, 0.8158, 0.55 ]]
33 #
34 # New values added by AScarff 2020-03-26. Numbers from MStancari, from tests with 2us only.
35  NoiseFactVec: [[ 0.823, 0.823, 0.823, 0.823 ], [ 0.823, 0.823, 0.823, 0.823 ], [ 0.651, 0.651, 0.651, 0.651 ]]
36 
37  #FieldBins: 75 #For UseFunctionFieldShape: true
38  FieldBins: 1000
40 
41  Col3DCorrection: 2.5
42  Ind3DCorrection: 1.5
43  #ColFieldRespAmp: 0.0354
44 # ColFieldRespAmp: 0.350
45  ColFieldRespAmp: 1.0
46  #IndUFieldRespAmp: 0.018
47  IndUFieldRespAmp: 1.0
48 # IndUFieldRespAmp: 0.115
49  #IndVFieldRespAmp: 0.018
50 # IndVFieldRespAmp: 0.208
51  IndVFieldRespAmp: 1.0
52 
53  FieldResponseTOffset: [-26.6e3, -26.6e3, -26.6e3] #in ns, time offset of field response shape
54 
55  # For IndFilter and ColFilter, frequency (x) is measured in
56  # cycles/microsecond. The conversion to frequency bin depends on FFT size
57  # samping rate.
58 
59 ## Gaussian filter
60 
61  IndUFilter: "(x>0)*gaus"
62  IndUFilterParams: [1., 0., 0.2]
63  IndVFilter: "(x>0)*gaus"
64  IndVFilterParams: [1., 0., 0.2]
65  ColFilter: "(x>0)*gaus"
66  ColFilterParams: [1., 0., 0.2]
67 
68 
69 ## Wiener filter - Not used from June 2020.
70  ##IndUFilter: "(x>0.0)*gaus(0)*exp(-0.5*pow(x/[3],[4]))"
71  #IndUFilterParams: [ .454, 0.0, 0.1875, 0.25, 8.0 ]
72  #IndUFilterParams: [ 0.05, 0.0, 0.1875, 0.25, 8.0 ]
73  ##IndUFilterParams: [ 1.803396, 1.69, 1.55, 0.19, 3.75 ]
74 
75  ##IndVFilter: "(x>0.0)*gaus(0)*exp(-0.5*pow(x/[3],[4]))"
76  #IndVFilterParams: [ .454, 0.0, 0.1875, 0.25, 8.0 ]
77  #IndVFilterParams: [ 0.05, 0.0, 0.1875, 0.25, 8.0 ]
78  #IndVFilterParams: [ 1.849030, 1.46, 1.33, 0.23, 4.89 ]
79  ##IndVFilterParams: [ 1.73, 1.69, 1.55, 0.19, 3.75 ]
80 
81  ##ColFilter: "(x>0)*[0]*exp(-0.5*(((x-[1])/[2])^2)^[3])"
82  #ColFilterParams: [ 79258.0, 0.0, 0.1875, 1.5 ]
83  #ColFilterParams: [ 0.0792580, 0.0, 0.1875, 1.5 ]
84  ##ColFilterParams: [ 1.034516, 0.08, 0.15, 2.17 ]
85 
86  GetFilterFromHisto: false
87 
88  FilterFunctionFname: "sbnd_filters_v0.1.root"
89  FilterHistoName: "noisefilter_%d"
90 
91  UseFunctionFieldShape: false
92  UseSimpleFieldShape: false
93  UseHistogramFieldShape: true
94  FieldResponseFname: "Response/sbnd_response_v1.0.root"
95  FieldResponseHistoName: "FieldResponse"
96 
97  IndUFieldShape: "[0]*(1.0+[3]*tanh(x-[4]))*([4]-x)*exp(-0.5*((x-[4])/[2])^2.0)"
98  IndUFieldParams: [.00843,.1534,1.77,0.,0.5] #last parameter needs to be half of FFT vector, correct for in code
99  IndVFieldShape: "[0]*(1.0+[3]*tanh(x-[4]))*([4]-x)*exp(-0.5*((x-[4])/[2])^2.0)"
100  IndVFieldParams: [.00843,.1534,1.77,0.,0.5] #last parameter needs to be half of FFT vector, correct for in code
101  ColFieldShape: "x^[2]/(1.0+(x/[0])^[1])"
102  ColFieldParams: [ 8.0,16.0,.75 ]
103 
104 
105 
106 }
107 END_PROLOG
BEGIN_PROLOG TPC Trig offset(g4 rise time) ProjectToHeight
Definition: CORSIKAGen.fcl:7
BEGIN_PROLOG sbnd_signalshapingservice
BEGIN_PROLOG ShapeTimeConst
BEGIN_PROLOG GetFilterFromHisto
BEGIN_PROLOG IndVFieldShape
standard_singlep gaussian distribution ie ie ie gaussian gaussian gaussian Ind3DCorrection
Definition: zengen.fcl:23
auto vector(Vector const &v)
Returns a manipulator which will print the specified array.
Definition: DumpUtils.h:265
services SignalShapingServiceSBND IndUFilter
BEGIN_PROLOG FieldBins
BEGIN_PROLOG ColFieldShape
services SignalShapingServiceSBND services SignalShapingServiceSBND services SignalShapingServiceSBND ColFilterParams
standard_singlep gaussian distribution ie ie ie gaussian gaussian gaussian InputFieldRespSamplingPeriod
Definition: zengen.fcl:23
services SignalShapingServiceSBND services SignalShapingServiceSBND IndVFilterParams
second seconds
Alias for common language habits.
Definition: spacetime.h:88
then echo echo For and will not be changed by echo further linking echo echo B echo The symbol is in the uninitialized data multiple common symbols may appear with the echo same name If the symbol is defined the common echo symbols are treated as undefined references For more echo details on common see the discussion of warn common echo in *Note Linker see the discussion of warn common echo in *Note Linker such as a global int variable echo as opposed to a large global array echo echo I echo The symbol is an indirect reference to another symbol This echo is a GNU extension to the a out object file format which is echo rarely used echo echo N echo The symbol is a debugging symbol echo echo R echo The symbol is in a read only data section echo echo S echo The symbol is in an uninitialized data section for small echo objects echo echo T echo The symbol is in the the normal defined echo symbol is used with no error When a weak undefined symbol echo is linked and the symbol is not the value of the echo weak symbol becomes zero with no error echo echo W echo The symbol is a weak symbol that has not been specifically echo tagged as a weak object symbol When a weak defined symbol echo is linked with a normal defined the normal defined echo symbol is used with no error When a weak undefined symbol echo is linked and the symbol is not the value of the echo weak symbol becomes zero with no error echo echo echo The symbol is a stabs symbol in an a out object file In echo this the next values printed are the stabs other field
if &&[-z"$BASH_VERSION"] then echo Attempting to switch to bash bash shellSwitch exit fi &&["$1"= 'shellSwitch'] shift declare a IncludeDirectives for Dir in
BEGIN_PROLOG ColFilter
stream1 local::WhiteNoiseTool physics producers daq NoiseFactVec
BEGIN_PROLOG IndVFilter