Namespaces | Typedefs | Functions | Variables
PennToOffline.h File Reference
#include "art/Framework/Principal/Handle.h"
#include "lbne-raw-data/Overlays/PennMilliSliceFragment.hh"
#include "artdaq-core/Data/Fragment.hh"
#include "utilities/UnpackFragment.h"
#include "messagefacility/MessageLogger/MessageLogger.h"
#include "art/Framework/Services/Registry/ServiceHandle.h"
#include "larcore/Geometry/Geometry.h"
#include "lardataobj/RawData/ExternalTrigger.h"
#include "larcorealg/Geometry/AuxDetGeo.h"
#include <iostream>
#include <fstream>
#include <vector>
#include <map>
#include <bitset>
#include <utility>
#include <iterator>
#include "TMath.h"
#include "TVector3.h"

Go to the source code of this file.

Namespaces

 DAQToOffline
 
 DAQToOffline::TypeSizes
 

Typedefs

typedef std::pair< lbne::PennMicroSlice::Payload_Header::short_nova_timestamp_t, std::bitset< TypeSizes::TriggerWordSize > > DAQToOffline::PTBTrigger
 

Functions

void DAQToOffline::CollectCounterBits (lbne::PennMicroSlice::Payload_Header *header, lbne::PennMicroSlice::Payload_Counter *trigger)
 
void DAQToOffline::CollectTrigger (lbne::PennMicroSlice::Payload_Header *header, lbne::PennMicroSlice::Payload_Trigger *trigger)
 
std::vector< raw::ExternalTriggerDAQToOffline::PennFragmentToExternalTrigger (artdaq::Fragments const &Fragments, std::map< int, int > &channelMap, lbne::PennMicroSlice::Payload_Timestamp *&FirstPTBTimestamp)
 
void DAQToOffline::GetTimestamp (lbne::PennMilliSliceFragment msf, lbne::PennMicroSlice::Payload_Header *&word_header, lbne::PennMicroSlice::Payload_Timestamp *const &previous_timestamp, lbne::PennMicroSlice::Payload_Timestamp *&future_timestamp, lbne::PennMicroSlice::Payload_Header *&future_timestamp_header, std::vector< lbne::PennMicroSlice::Payload_Timestamp::timestamp_t > &TimeVector)
 
bool DAQToOffline::MakeNewExtTrig (uint32_t pos, bool &PrevOn, bool NowOn)
 
void DAQToOffline::BuildPTBChannelMap (std::string MapDir, std::string MapFile, std::map< int, int > &channelMap)
 
void DAQToOffline::MakeCounterPositionMap (std::string CounterDir, std::string CounterFile, std::map< unsigned int, std::pair< TVector3, std::vector< TVector3 > > > &CounterPositionMap, double fExtendCountersX=0, double fExtendCountersY=0, double fExtendCountersZ=0)
 
void DAQToOffline::MakeCounterCorners (int CountInd, double HalfLength, double HalfWidth1, double HalfWidth2, TVector3 Centre, TVector3 &TL, TVector3 &TR, TVector3 &BL, TVector3 &BR, double fExtendCountersX=0, double fExtendCountersY=0, double fExtendCountersZ=0)
 

Variables

static int const DAQToOffline::TypeSizes::CounterWordSize = 104
 
static int const DAQToOffline::TypeSizes::TriggerWordSize = 32