Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HDEVIO.h File Reference
#include <stdint.h>
#include <vector>
#include <set>
#include <string>
#include <fstream>
#include <sstream>
#include <iostream>

Go to the source code of this file.

Classes

class  HDEVIO
 
struct  HDEVIO::EPICSHEADER_t
 
struct  HDEVIO::BORHEADER_t
 
struct  HDEVIO::PHYSICSHEADER_t
 
struct  HDEVIO::CDAQPHYSICSHEADER_t
 
struct  HDEVIO::BLOCKHEADER_t
 
struct  HDEVIO::EVENTHEADER_t
 
class  HDEVIO::EVIOEventRecord
 
class  HDEVIO::EVIOBlockRecord
 

Macros

#define _DBG_   cout<<__FILE__<<":"<<__LINE__<<" "
 
#define _DBG__   cout<<__FILE__<<":"<<__LINE__<<endl
 
#define swap64(x)
 
#define swap32(x)
 
#define swap16(x)
 

Macro Definition Documentation

#define _DBG_   cout<<__FILE__<<":"<<__LINE__<<" "

Definition at line 12 of file HDEVIO.h.

Referenced by DHistogram::Add(), DHoughFind::Add(), MyProcessor::AddKinematicDataTrack(), DHelicalFit::AddStereoHit(), DTrackFitterKalmanSIMD::BrentsAlgorithm(), DFDCIntersection_factory::brun(), DTrackTimeBased_factory_StraightLine::brun(), DTrackWireBased_factory_StraightLine::brun(), DTrackTimeBased_factory_THROWN::brun(), DTrackWireBased_factory_THROWN::brun(), DBCALCluster_factory::brun(), DTrackTimeBased_factory::brun(), DEventProcessor_fdc_covariance_hists::brun(), DEventProcessor_cdc_covariance_hists::brun(), DTrackCandidate_factory_THROWN::brun(), DEventProcessor_bcalfcaltof_res_tree::brun(), DTrackCandidate_factory_FDCCathodes::brun(), JEventProcessor_ST_online_Tresolution::brun(), JEventProcessor_ST_Propagation_Time::brun(), JEventProcessor_ST_Tresolution::brun(), DTrackWireBased_factory::brun(), DFDCPseudo_factory::brun(), DEventProcessor_track_hists::brun(), DEventProcessor_candidate_tree::brun(), DTrackCandidate_factory_StraightLine::brun(), JEventProcessor_ST_online_efficiency::brun(), JEventProcessor_ST_ZEff::brun(), HDEVIO::buff_seekg(), DTrackFitterKalmanSIMD::CentralFit(), DTrackFitterALT1::ChiSq(), DReferenceTrajectory::DistToRT(), DLorentzMapCalibDB::DLorentzMapCalibDB(), DMagneticFieldMapCalibDB::DMagneticFieldMapCalibDB(), DMagneticFieldMapConst::DMagneticFieldMapConst(), DMagneticFieldMapFineMesh::DMagneticFieldMapFineMesh(), DMagneticFieldMapPS2DMap::DMagneticFieldMapPS2DMap(), DMagneticFieldMapPSConst::DMagneticFieldMapPSConst(), DTrackWireBased_factory::DoFit(), DTrackTimeBased_factory::DoFit(), trk_mainframe::DoMyRedraw(), DParticleID::DParticleID(), trk_mainframe::DrawHits(), DRootGeom::DRootGeom(), DTrackFitter::DTrackFitter(), DTrackFitterALT1::DTrackFitterALT1(), DTrackLSFitter::DTrackLSFitter(), DEventProcessor_radlen_hists::erun(), JEventProcessor_BCAL_TDC_Timing::evnt(), DFDCIntersection_factory::evnt(), JEventProcessor_dumpcandidates::evnt(), DEventProcessor_DCdEdxStudy_tree::evnt(), JEventProcessor_pi0bcalskim::evnt(), JEventProcessor_ST_online_tracking::evnt(), JEventProcessor_BCAL_point_calib::evnt(), DEventProcessor_eloss::evnt(), JEventProcessor_BCAL_inv_mass::evnt(), JEventProcessor_BCAL_Eff::evnt(), DTrackCandidate_factory_CDC_or_FDCpseudo::evnt(), DEventProcessor_fdc_covariance_hists::evnt(), DEventProcessor_cdc_covariance_hists::evnt(), JEventProcessor_CDC_Efficiency::evnt(), JEventProcessor_FDCProjectionResiduals::evnt(), DEventProcessor_radlen_hists::evnt(), DFDCHit_factory::evnt(), JEventProcessor_ST_online_Tresolution::evnt(), DCDCHit_factory_Calib::evnt(), DTrackWireBased_factory::evnt(), DTrackCandidate_factory::evnt(), DFDCPseudo_factory::evnt(), DEventProcessor_BCAL_gainmatrix::evnt(), DEventProcessor_trackeff_hists2::evnt(), DEventProcessor_track_hists::evnt(), DEventProcessor_candidate_tree::evnt(), JEventProcessor_ST_ZEff::evnt(), DTrackCandidate_factory_FDCpseudo::evnt(), DTrackCandidate_factory_FDC::evnt(), DTrackFitterKalmanSIMD::ExtrapolateCentralToOtherDetectors(), DTrackFitterKalmanSIMD::ExtrapolateForwardToOtherDetectors(), DTrackFitterKalmanSIMD::ExtrapolateToVertex(), DEVIOWorkerThread::F1TDC_channel(), MyProcessor::FillGraphics(), DEventProcessor_eta_ntuple::FillNtuple(), DTrackFitterKalmanSIMD::FillPullsVectorEntry(), DTrackCandidate_factory_FDCpseudo::FillSeedHits(), DTrackCandidate_factory_FDC::FillSeedHits(), DTrackTimeBased_factory::FilterDuplicates(), DTrackWireBased_factory::FilterDuplicates(), DReferenceTrajectory::FindClosestSwimStep(), DTrackFitter::FindHitsAndFitTrack(), DFDCIntersection_factory::FindIntersections(), DRootGeom::FindMat(), DRootGeom::FindMatLL(), DReferenceTrajectory::FindPlaneCrossing(), DTrackCandidate_factory_FDCpseudo::FindSeeds(), DTrackCandidate_factory_FDC::FindSeeds(), DTrackCandidate_factory_FDCpseudo::FindTheta(), DTrackCandidate_factory_FDC::FindTheta(), DTrackCandidate_factory_FDCpseudo::FindThetaZ(), DTrackCandidate_factory_FDC::FindThetaZ(), DTrackCandidate_factory_FDCpseudo::FindZ(), DTrackCandidate_factory_FDC::FindZ(), DEventProcessor_dc_alignment::fini(), DTrackFitterALT1::FitTrack(), DTrackFitterKalmanSIMD::FitTrack(), DTrackFitterALT1::ForceLRTruth(), DTrackFitterKalmanSIMD::ForwardCDCFit(), DTrackFitterKalmanSIMD::ForwardFit(), DGeometry::GetBCALCenterZ(), DGeometry::GetBCALDepth(), DGeometry::GetBCALLength(), DGeometry::GetBCALNmodules(), hdv_mainframe::GetBCALPolyLine(), DGeometry::GetBCALRmin(), DApplication::GetBfield(), DGeometry::GetCCALZ(), DGeometry::GetCDCAxialLength(), DGeometry::GetCDCEndplate(), DTrackHitSelectorALT1::GetCDCHits(), DTrackHitSelectorALT2::GetCDCHits(), DGeometry::GetCDCOption(), DGeometry::GetCompositeMaterial(), DApplication::GetDGeometry(), DGeometry::GetDIRCZ(), MyProcessor::GetDReferenceTrajectory(), DGeometry::GetFCALZ(), DTrackHitSelectorALT1::GetFDCHits(), DTrackHitSelectorALT2::GetFDCHits(), DGeometry::GetFDCRmax(), DMagneticFieldMapFineMesh::GetField(), DMagneticFieldMapCalibDB::GetField(), DMagneticFieldMapPS2DMap::GetField(), MyProcessor::GetIntersectionWithCalorimeter(), DReferenceTrajectory::GetIntersectionWithPlane(), DReferenceTrajectory::GetIntersectionWithRadius(), DLorentzMapCalibDB::GetLorentzDeflections(), DEventSourceHDDM::GetObjects(), DTrackFitterALT1::GetResiInfo(), DTrackCandidate_factory_FDCpseudo::GetTrkHits(), DTrackCandidate_factory_FDC::GetTrkHits(), DMagneticFieldMapSpoiled::Init(), DTrackFitterKalmanSIMD::KalmanCentral(), DTrackFitterKalmanSIMD_ALT1::KalmanForward(), DTrackFitterKalmanSIMD::KalmanForward(), DTrackFitterKalmanSIMD::KalmanForwardCDC(), DTrackFitterKalmanSIMD::KalmanLoop(), DTrackFitterALT1::LeastSquaresB(), main(), DTrackCandidate_factory::MakeCandidateFromMethod1(), DFDCPseudo_factory::makePseudo(), HDEVIO::MapBlocks(), HDEVIO::MapEvents(), DTrackCandidate_factory::MatchMethod1(), DTrackCandidate_factory::MatchMethod10(), DTrackCandidate_factory::MatchMethod11(), DTrackCandidate_factory::MatchMethod12(), DTrackCandidate_factory::MatchMethod13(), DTrackCandidate_factory::MatchMethod2(), DTrackCandidate_factory::MatchMethod3(), DTrackCandidate_factory::MatchMethod4(), DTrackCandidate_factory::MatchMethod5(), DTrackCandidate_factory::MatchMethod6(), DTrackCandidate_factory::MatchMethod7(), DTrackCandidate_factory::MatchMethod8(), DTrackCandidate_factory::MatchMethod9(), DTrackCandidate_factory::MatchStraySegments(), DEVIOWorkerThread::ParseBank(), DEVIOWorkerThread::ParseBORbank(), DEVIOWorkerThread::ParseCAEN1190(), ParseCommandLineArgs(), DEVIOWorkerThread::ParseDEventRFBunchBank(), DEVIOWorkerThread::ParseDVertexBank(), DEVIOWorkerThread::ParseEPICSbank(), DEVIOWorkerThread::ParseF1TDCBank(), DEVIOWorkerThread::Parsef250Bank(), DEVIOWorkerThread::Parsef250scalerBank(), DEVIOWorkerThread::ParseModuleConfiguration(), DEVIOWorkerThread::ParseTSscalerBank(), DTrackFitterALT1::PrintChisqElements(), PrintFactoryList(), DMagneticFieldMapFineMesh::ReadMap(), DMagneticFieldMapPS2DMap::ReadMap(), DMagneticFieldMapCalibDB::ReadMap(), DRootGeom::ReadMap(), DGeometry::ReadMaterialMaps(), DEventProcessor_pulls_tree::RecalculateChisq(), DTrackFitterKalmanSIMD::RecoverBrokenForwardTracks(), DTrackFitterKalmanSIMD::RecoverBrokenTracks(), DFDCSegment_factory::RiemannHelicalFit(), DEventProcessor_trackeff_hists2::Search_ChargedTrackHypotheses(), DEventProcessor_trackeff_hists2::Search_WireBasedTracks(), DTrackFitterRiemann::SetSeed(), DTrackFitterKalmanSIMD::SmoothCentral(), DTrackFitterKalmanSIMD_ALT1::SmoothForward(), DTrackFitterKalmanSIMD::SmoothForward(), DTrackFitterKalmanSIMD::SmoothForwardCDC(), DTrackCandidate_factory::TryToFlipDirection(), and hdv_fulllistframe::UpdateTrackLabels().

#define swap16 (   x)
Value:
( (((x) >> 8) & 0x00FF) | \
(((x) << 8) & 0xFF00) )
Double_t x[NCHANNELS]
Definition: st_tw_resols.C:39

Definition at line 41 of file HDEVIO.h.

Referenced by HDEVIO::swap_block().

#define swap32 (   x)
Value:
( (((x) >> 24) & 0x000000FF) | \
(((x) >> 8) & 0x0000FF00) | \
(((x) << 8) & 0x00FF0000) | \
(((x) << 24) & 0xFF000000) )
Double_t x[NCHANNELS]
Definition: st_tw_resols.C:39

Definition at line 36 of file HDEVIO.h.

Referenced by HDET::PrintEVIOBlockHeader(), HDET::read(), DEVIOWorkerThread::Run(), and HDEVIO::swap_block().

#define swap64 (   x)
Value:
( (((x) >> 56) & 0x00000000000000FFL) | \
(((x) >> 40) & 0x000000000000FF00L) | \
(((x) >> 24) & 0x0000000000FF0000L) | \
(((x) >> 8) & 0x00000000FF000000L) | \
(((x) << 8) & 0x000000FF00000000L) | \
(((x) << 24) & 0x0000FF0000000000L) | \
(((x) << 40) & 0x00FF000000000000L) | \
(((x) << 56) & 0xFF00000000000000L) )
Double_t x[NCHANNELS]
Definition: st_tw_resols.C:39

Definition at line 27 of file HDEVIO.h.

Referenced by HDEVIO::swap_block().