All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Typedefs | Functions | Variables
TPCChannelmapping.h File Reference
#include "wda.h"
#include <time.h>
#include <vector>
#include <string>
#include <iostream>
#include <stdio.h>

Go to the source code of this file.

Namespaces

 database
 

Typedefs

using database::ReadoutIDVec = std::vector< unsigned int >
 
using database::CrateNameReadoutIDPair = std::pair< std::string, ReadoutIDVec >
 
using database::TPCFragmentIDToReadoutIDMap = std::map< unsigned int, CrateNameReadoutIDPair >
 
using database::ChannelPlanePair = std::pair< unsigned int, unsigned int >
 
using database::ChannelPlanePairVec = std::vector< ChannelPlanePair >
 
using database::SlotChannelVecPair = std::pair< unsigned int, ChannelPlanePairVec >
 
using database::TPCReadoutBoardToChannelMap = std::map< unsigned int, SlotChannelVecPair >
 
using database::DigitizerChannelChannelIDPair = std::pair< size_t, size_t >
 
using database::DigitizerChannelChannelIDPairVec = std::vector< DigitizerChannelChannelIDPair >
 
using database::FragmentToDigitizerChannelMap = std::map< size_t, DigitizerChannelChannelIDPairVec >
 

Functions

int database::GetDataset (const std::string name, const std::string url, const std::string &dataType, Dataset &dataSet)
 
int database::BuildTPCFragmentIDToReadoutIDMap (TPCFragmentIDToReadoutIDMap &fragmentBoardMap)
 
int database::BuildTPCReadoutBoardToChannelMap (TPCReadoutBoardToChannelMap &rbChanMap)
 
char * database::Fragment_ID (int readout_board_ID)
 
std::vector< int > database::Channel_ID (int readout_board_ID)
 
int database::BuildFragmentToDigitizerChannelMap (FragmentToDigitizerChannelMap &fragmentToDigitizerChannelMap)
 
int database::PMTChannelIDFromPhysicalPMTPositionID (unsigned int pmtid)
 
int database::PMTChannelIDFromDigitizer (std::string digitizerlabel, int digitizerchannelnumber)
 

Variables

const unsigned int database::CHANNELSPERBOARD = 64