BDSwicPeds.cxx File Reference

#include "BDSwicPeds.h"
#include "BDDevices.h"
#include <RawData/RawBeamMonBlock.h>
#include <RawData/RawBeamMonHeaderBlock.h>
#include <MessageService/MsgService.h>

Go to the source code of this file.

Functions

 CVSID ("$Id: BDSwicPeds.cxx,v 1.10 2005/05/12 18:48:31 bv Exp $")
double total (const RawBeamData &rbd)

Variables

const float maximum_toroid_intensity = 0.1
const float maximum_bpm_intensity = 5.0
const float dae_jitter = 0.300
const float dae_vme_padding = 0.100

Function Documentation

CVSID ( "$Id: BDSwicPeds.  cxx,
v 1.10 2005/05/12 18:48:31 bv Exp $"   
)
double total ( const RawBeamData rbd  ) 

Definition at line 63 of file BDSwicPeds.cxx.

References RawBeamData::GetData(), and RawBeamData::GetDataLength().

Referenced by NueExpGenerator::DetermineCuts(), NuEZRunsFitter::FDDataNQ(), NuEZRunsFitter::FDDataPQ(), HornModule::Fill(), NueExpBuilder::GenerateExperiment(), OscFit::Template::GetBinContent(), NueExtrapolationJB::GetPrediction(), OscFit::Template::GetTotalContent(), AtNuOscFitTemplate::GetTotalContent(), AtNuOscFitHistogram::GetTotalContent(), VtxCluster::GetTotalEnergy(), Truthifier::GetTotalEnergy(), VtxClusterList::GetTotalEventEnergy(), OscFit::TemplateGrid::InvertGridID(), OscFit::TemplateMap::InvertID(), OscFit::Template::InvertID(), Truthifier::IsCandidateFromParticle(), Truthifier::IsCandidateFromTrack(), Truthifier::IsCandidateGenuine(), BDSwicPeds::IsPedSpill(), Truthifier::IsSignalFromNeutrino(), Truthifier::IsSignalFromParticle(), Truthifier::IsSignalFromTrack(), NueFitter::LoadFiles(), NueSensitivity::OscillateFile(), NueFCSensitivity::OscillateFile(), NuEZRunsFitter::PredictionNQ(), NuEZRunsFitter::PredictionPQ(), NueExtrapolationJB::RunExtrapStudy(), MiniMaker::RunMiniMaker(), MiniMakerPID::RunMiniMakerPID(), Finder::ShareHit(), MinosCompactEvent::SizeOf(), OscFit::Histogram::SumBinContents(), TruthHelper::TrackPurity(), and AngClusterFitAna::TransVarCalc().

00064 {
00065     int siz = rbd.GetDataLength();
00066     if (!siz) return 0;
00067 
00068     const double* data= rbd.GetData();
00069     double tot=0;
00070     for (int ind=0; ind<siz; ++ind) tot += data[ind];
00071     return tot;
00072 }


Variable Documentation

const float dae_jitter = 0.300

Definition at line 20 of file BDSwicPeds.cxx.

Referenced by BDSwicPeds::IsPedSpill().

const float dae_vme_padding = 0.100

Definition at line 22 of file BDSwicPeds.cxx.

Referenced by BDSwicPeds::IsPedSpill().

const float maximum_bpm_intensity = 5.0

Definition at line 16 of file BDSwicPeds.cxx.

Referenced by BDSwicPeds::IsPedSpill().

const float maximum_toroid_intensity = 0.1

Definition at line 14 of file BDSwicPeds.cxx.

Referenced by BDSwicPeds::IsPedSpill().


Generated on 10 Oct 2018 for loon by  doxygen 1.6.1