Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DTranslationTable.h File Reference
#include <set>
#include <string>
#include <JANA/JObject.h>
#include <JANA/JFactory.h>
#include <JANA/JEventLoop.h>
#include <JANA/JCalibration.h>
#include <JANA/JException.h>
#include <JANA/JEventSource.h>
#include <DAQ/DModuleType.h>
#include <DAQ/Df250PulseData.h>
#include <DAQ/Df250PulseIntegral.h>
#include <DAQ/Df250StreamingRawData.h>
#include <DAQ/Df250WindowSum.h>
#include <DAQ/Df250PulseRawData.h>
#include <DAQ/Df250TriggerTime.h>
#include <DAQ/Df250PulseTime.h>
#include <DAQ/Df250PulsePedestal.h>
#include <DAQ/Df250WindowRawData.h>
#include <DAQ/Df125PulseIntegral.h>
#include <DAQ/Df125PulseTime.h>
#include <DAQ/Df125PulsePedestal.h>
#include <DAQ/Df125TriggerTime.h>
#include <DAQ/Df125CDCPulse.h>
#include <DAQ/Df125FDCPulse.h>
#include <DAQ/DF1TDCHit.h>
#include <DAQ/DF1TDCTriggerTime.h>
#include <DAQ/DCAEN1290TDCHit.h>
#include <DAQ/DDIRCTDCHit.h>
#include <BCAL/DBCALDigiHit.h>
#include <BCAL/DBCALTDCDigiHit.h>
#include <CDC/DCDCDigiHit.h>
#include <FCAL/DFCALDigiHit.h>
#include <CCAL/DCCALDigiHit.h>
#include <CCAL/DCCALRefDigiHit.h>
#include <FDC/DFDCCathodeDigiHit.h>
#include <FDC/DFDCWireDigiHit.h>
#include <RF/DRFDigiTime.h>
#include <RF/DRFTDCDigiTime.h>
#include <START_COUNTER/DSCDigiHit.h>
#include <START_COUNTER/DSCTDCDigiHit.h>
#include <TOF/DTOFDigiHit.h>
#include <TOF/DTOFTDCDigiHit.h>
#include <TAGGER/DTAGMDigiHit.h>
#include <TAGGER/DTAGMTDCDigiHit.h>
#include <TAGGER/DTAGHDigiHit.h>
#include <TAGGER/DTAGHTDCDigiHit.h>
#include <PAIR_SPECTROMETER/DPSDigiHit.h>
#include <PAIR_SPECTROMETER/DPSCDigiHit.h>
#include <PAIR_SPECTROMETER/DPSCTDCDigiHit.h>
#include <TPOL/DTPOLSectorDigiHit.h>
#include <TAC/DTACDigiHit.h>
#include <TAC/DTACTDCDigiHit.h>
#include <DIRC/DDIRCTDCDigiHit.h>
#include "GlueX.h"

Go to the source code of this file.

Classes

class  DTranslationTable
 
struct  DTranslationTable::csc_t
 
class  DTranslationTable::BCALIndex_t
 
class  DTranslationTable::CDCIndex_t
 
class  DTranslationTable::FCALIndex_t
 
class  DTranslationTable::CCALIndex_t
 
class  DTranslationTable::CCALRefIndex_t
 
class  DTranslationTable::FDC_CathodesIndex_t
 
class  DTranslationTable::FDC_WiresIndex_t
 
class  DTranslationTable::PSIndex_t
 
class  DTranslationTable::PSCIndex_t
 
class  DTranslationTable::RFIndex_t
 
class  DTranslationTable::SCIndex_t
 
class  DTranslationTable::TAGHIndex_t
 
class  DTranslationTable::TAGMIndex_t
 
class  DTranslationTable::TOFIndex_t
 
class  DTranslationTable::TPOLSECTORIndex_t
 
class  DTranslationTable::TACIndex_t
 
class  DTranslationTable::DIRCIndex_t
 
class  DTranslationTable::DChannelInfo
 

Macros

#define MyTypes(X)
 
#define MyfADCTypes(X)
 
#define makevector(A)   mutable vector<A*> v##A;
 
#define makefactoryptr(A)   JFactory<A> *fac_##A;
 
#define copyfactoryptr(A)   fac_##A = (JFactory<A>*)loop->GetFactory(#A);
 
#define clearvector(A)   v##A.clear();
 
#define copytofactory(A)   fac_##A->CopyTo(v##A);
 
#define checkclassname(A)   if(classname==#A) return true;
 
#define printvectorsize(A)   ttout << " v" #A ".size() = " << v##A.size() << std::endl;
 
#define makefadcconfigparam1(A)   uint32_t NSAMPLES_INTEGRAL_##A;
 
#define makefadcconfigparam2(A)   uint32_t NSAMPLES_PEDESTAL_##A;
 
#define setdefaultfadc(A)
 
#define overwritensamples(A)
 

Macro Definition Documentation

#define checkclassname (   A)    if(classname==#A) return true;

Definition at line 418 of file DTranslationTable.h.

Referenced by DTranslationTable::IsSuppliedType().

#define clearvector (   A)    v##A.clear();

Definition at line 409 of file DTranslationTable.h.

Referenced by DTranslationTable::ClearVectors().

#define copyfactoryptr (   A)    fac_##A = (JFactory<A>*)loop->GetFactory(#A);

Definition at line 405 of file DTranslationTable.h.

Referenced by DTranslationTable::InitFactoryPointers().

#define copytofactory (   A)    fac_##A->CopyTo(v##A);

Definition at line 413 of file DTranslationTable.h.

Referenced by DTranslationTable::CopyToFactories().

#define makefactoryptr (   A)    JFactory<A> *fac_##A;

Definition at line 401 of file DTranslationTable.h.

#define makefadcconfigparam1 (   A)    uint32_t NSAMPLES_INTEGRAL_##A;

Definition at line 433 of file DTranslationTable.h.

#define makefadcconfigparam2 (   A)    uint32_t NSAMPLES_PEDESTAL_##A;

Definition at line 434 of file DTranslationTable.h.

#define makevector (   A)    mutable vector<A*> v##A;

Definition at line 397 of file DTranslationTable.h.

#define MyTypes (   X)
Value:
#define X(str)
Definition: hddm-c.cpp:83

Definition at line 73 of file DTranslationTable.h.

Referenced by DTranslationTable::ClearVectors(), DTranslationTable::CopyToFactories(), DTranslationTable::InitFactoryPointers(), DTranslationTable::IsSuppliedType(), and DTranslationTable::PrintVectorSizes().

#define overwritensamples (   A)
Value:
{\
if(NSAMPLES_INTEGRAL_##A > 0) for(auto h : v##A) h->nsamples_integral = NSAMPLES_INTEGRAL_##A; \
if(NSAMPLES_PEDESTAL_##A > 0) for(auto h : v##A) h->nsamples_pedestal = NSAMPLES_PEDESTAL_##A; \
}
if(locHist_BCALShowerPhiVsZ!=NULL)
for(auto locVertexInfo:dStepVertexInfos)

Referenced by DTranslationTable::OverwriteNsamples().

#define printvectorsize (   A)    ttout << " v" #A ".size() = " << v##A.size() << std::endl;

Definition at line 425 of file DTranslationTable.h.

Referenced by DTranslationTable::PrintVectorSizes().

#define setdefaultfadc (   A)
Value:
{\
NSAMPLES_INTEGRAL_##A = NSAMPLES_PEDESTAL_##A = 0; \
gPARMS->SetDefaultParameter("TT:NSAMPLES_INTEGRAL_" #A, NSAMPLES_INTEGRAL_##A, "Overwrite the nsamples_integral field of all " #A " objects with this"); \
gPARMS->SetDefaultParameter("TT:NSAMPLES_PEDESTAL_" #A, NSAMPLES_PEDESTAL_##A, "Overwrite the nsamples_pedestal field of all " #A " objects with this"); \
}

Referenced by DTranslationTable::InitNsamplesOverride().