Functions
Microboone.cxx File Reference
#include "WireCellSigProc/Microboone.h"
#include "WireCellSigProc/Derivations.h"
#include "WireCellUtil/NamedFactory.h"
#include <cmath>
#include <complex>
#include <iostream>
#include <set>

Go to the source code of this file.

Functions

 WIRECELL_FACTORY (mbCoherentNoiseSub, WireCell::SigProc::Microboone::CoherentNoiseSub, WireCell::IChannelFilter) WIRECELL_FACTORY(mbOneChannelNoise
 
WireCell::IConfigurable WIRECELL_FACTORY (mbOneChannelStatus, WireCell::SigProc::Microboone::OneChannelStatus, WireCell::IChannelFilter, WireCell::IConfigurable) WIRECELL_FACTORY(mbADCBitShift
 
double filter_low (double freq, double cut_off=0.08)
 
double filter_time (double freq)
 
double filter_low_loose (double freq)
 

Function Documentation

double filter_low ( double  freq,
double  cut_off = 0.08 
)

Definition at line 41 of file Microboone.cxx.

41  {
42  if ( (freq>0.177 && freq<0.18) || (freq > 0.2143 && freq < 0.215) ||
43  (freq >=0.106 && freq<=0.109) || (freq >0.25 && freq<0.251)){
44  return 0;
45  }else{
46  return 1-exp(-pow(freq/cut_off,8));
47  }
48 }
constexpr T pow(T x)
Definition: pow.h:72
double filter_low_loose ( double  freq)

Definition at line 50 of file Microboone.cxx.

50  {
51  return 1-exp(-pow(freq/0.005,2));
52 }
constexpr T pow(T x)
Definition: pow.h:72
double filter_time ( double  freq)

Definition at line 35 of file Microboone.cxx.

35  {
36  double a = 0.143555;
37  double b = 4.95096;
38  return (freq>0)*exp(-0.5*pow(freq/a,b));
39 }
constexpr T pow(T x)
Definition: pow.h:72
const GenericPointer< typename T::ValueType > T2 T::AllocatorType & a
Definition: pointer.h:1124
static bool * b
Definition: config.cpp:1043
WIRECELL_FACTORY ( mbCoherentNoiseSub  ,
WireCell::SigProc::Microboone::CoherentNoiseSub  ,
WireCell::IChannelFilter   
)

FIXME: this file is full of magic numbers and likely totally not usable for detectors other than MicroBooNE.