Public Member Functions | Public Attributes | Protected Attributes | Friends | List of all members
rb::CellHit Class Reference

A rawdata::RawDigit with channel information decoded. More...

#include "/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/N20-12-03/RecoBaseHit/CellHit.h"

Inheritance diagram for rb::CellHit:
rawdata::RawDigit cheat::SimHit

Public Member Functions

 CellHit ()
 
 ~CellHit ()
 
 CellHit (const rawdata::RawDigit &rd, int id=0)
 
void Print () const
 
unsigned short Plane () const
 
unsigned short Cell () const
 
geo::View_t View () const
 
float PE () const
 
float TNS () const
 
const int ID () const
 
bool GoodTiming () const
 
geo::OfflineChan OfflineChan () const
 
void SetCell (unsigned short cell)
 
void SetPlane (unsigned short plane)
 
void SetView (geo::View_t view)
 
void SetPE (float pe)
 
void SetTNS (float tns, bool good)
 
void SetID (int id)
 Compares hits by plane, then cell, then time. More...
 
bool operator< (const CellHit &other) const
 
bool operator== (const CellHit &other) const
 Returns true if the two cellhits have the same plane, cell, PE and TDC values. More...
 
uint32_t NADC () const
 
int16_t ADC (uint32_t i) const
 
int16_t ADC () const
 Best estimator of the hit charge. More...
 
uint32_t Channel () const
 
uint32_t DaqChannel () const
 
uint8_t Version () const
 
int32_t TDC () const
 The time of the last baseline sample. More...
 
void SetADC (uint32_t i, int16_t iADC)
 
void SetTDC (int32_t iTDC)
 
void SetChannel (uint32_t iChan)
 
void SetDaqChannel (uint32_t iChan)
 
void SetVersion (uint8_t v)
 
void SetMC (bool isMC=true)
 
bool IsRealData () const
 
bool IsMC () const
 

Public Attributes

uint8_t fFrameSequenceNumber
 
uint8_t fFEBStatus
 
bool fDebugMode
 
bool fDataPresent
 
bool fLinkStatus
 
uint16_t fReserved
 Should be 0xCAFE. More...
 
std::vector< int16_t > fADC
 list of ADC(-like) charge values More...
 
std::vector< int32_t > fTDC
 TDC(-like) time value. Event time is subtracted. Vector structure is a historical artifact. More...
 
uint8_t fVersion
 NanoSlice version. More...
 

Protected Attributes

unsigned short fPlane
 plane number More...
 
unsigned short fCell
 cell number More...
 
geo::View_t fView
 view (geo::kX or geo::kY) More...
 
float fPE
 after ADC–>PE gain applied More...
 
float fTNS
 time of hit in ns with channel differences removed More...
 
int fID
 ID for CellHit. More...
 
bool fCoarseTiming
 Was the timing fit bad? More...
 

Friends

std::ostream & operator<< (std::ostream &o, const CellHit &c)
 

Detailed Description

A rawdata::RawDigit with channel information decoded.

Definition at line 27 of file CellHit.h.

Constructor & Destructor Documentation

rb::CellHit::CellHit ( )

Definition at line 17 of file CellHit.cxx.

17  :
18  RawDigit(),
19  fPlane(0),
20  fCell(0),
22  fPE(0),
23  fTNS(0),
24  fID(0),
25  fCoarseTiming(false)
26  {
27  }
X or Y views.
Definition: PlaneGeo.h:30
geo::View_t fView
view (geo::kX or geo::kY)
Definition: CellHit.h:69
float fPE
after ADC–>PE gain applied
Definition: CellHit.h:71
unsigned short fCell
cell number
Definition: CellHit.h:68
bool fCoarseTiming
Was the timing fit bad?
Definition: CellHit.h:75
float fTNS
time of hit in ns with channel differences removed
Definition: CellHit.h:72
unsigned short fPlane
plane number
Definition: CellHit.h:67
int fID
ID for CellHit.
Definition: CellHit.h:73
rb::CellHit::~CellHit ( )

Definition at line 43 of file CellHit.cxx.

44  {
45  }
rb::CellHit::CellHit ( const rawdata::RawDigit rd,
int  id = 0 
)

Definition at line 30 of file CellHit.cxx.

30  :
31  RawDigit(rd),
32  fPlane(0),
33  fCell(0),
35  fPE(0),
36  fTNS(0),
37  fID(id),
38  fCoarseTiming(false)
39  {
40  }
X or Y views.
Definition: PlaneGeo.h:30
geo::View_t fView
view (geo::kX or geo::kY)
Definition: CellHit.h:69
float fPE
after ADC–>PE gain applied
Definition: CellHit.h:71
unsigned short fCell
cell number
Definition: CellHit.h:68
bool fCoarseTiming
Was the timing fit bad?
Definition: CellHit.h:75
float fTNS
time of hit in ns with channel differences removed
Definition: CellHit.h:72
unsigned short fPlane
plane number
Definition: CellHit.h:67
int fID
ID for CellHit.
Definition: CellHit.h:73

Member Function Documentation

int16_t rawdata::RawDigit::ADC ( uint32_t  i) const
inherited

Definition at line 58 of file RawDigit.cxx.

References rawdata::RawDigit::fADC, MECModelEnuComparisons::i, and printf().

Referenced by murem::MRCCParticle::AddHit(), me::MEFinder::AddMEHit(), murem::MRCCParticle::AddMRCCHit(), calib::ADCShapeFitAna::analyze(), rsim::RecordNoiseSpectrumFile::analyze(), calhit::CalHitAna::analyze(), rsim::MakeNoiseSpectrumFile::analyze(), ddt::SMMADC::analyze(), zcl::SMMTriggerAna::analyze(), mcchk::MonopoleAna::analyze(), sn::SupernovaAna::analyze(), murem::MuonRemoveAna::analyze(), pa::HitEva::analyze(), pa::ClusterEva::analyze(), zcl::MMCheater::analyze(), zcl::FmmTriggerAna::analyze(), zcl::FmmTrackerValidation::analyze(), zcl::FmmTrackerAna::analyze(), showere::ShowerEnergyAna::analyze(), rockmuon::NDRockMuon::analyze(), comi::NearlineAna::analyze(), remid::ReMIdDedxRock::analyze(), remid::ReMIdDedxFD::analyze(), remid::ReMIdDedxStudies::analyze(), zcl::FastMMStudy::analyze(), LightLevels::analyze(), ncs::Xeff::analyze(), ncs::ROCKMRE::analyze(), upmuana::UpMuRecoAna::analyze(), ncs::NCAna::analyze(), slid::NuEEnergyAlg::CellEnergy(), rsim::ReadoutSim::CreateRawDigits(), raw2daq::RawDigit2DAQHit::FillDAQHits(), filter::Filter::FillDigitVariables(), dprf::ChannelPlots::FillFebRawPlots(), calib::StopperThreshold::FillHist(), mcdatadaq::DAQSimulator::fillMicroSlices(), calib::StopperThreshold::FillTree(), calib::CalibAna::FillWithCellHit(), bsf::BremShowerFilter::filter(), showere::ShowerEnergyFilterMC::filter(), bsf::BremShowerFilter::findShowerByReco(), jmshower::RecoJMShower::GetCentroid(), calib::Calibrator::GetTNS(), slid::NuEEnergyAlg::HadronicDepEnergy(), evd::RawDataDrawer::HitColor(), ddthelpers::is_equal(), zcl::FastMonopoleTriggers::is_trigger_by_epoch1_fmmtrigger(), calib::Calibrator::MakeCellHit(), slid::NuEEnergyAlg::NonStdCellEnergy(), rb::operator<<(), operator==(), zcl::FastMonopoleTriggers::passed_epoch2_fmmtrigger(), ddthelpers::print(), slicer::MMSlicer::produce(), noe::noe::produce(), zcl::SPCluster::produce(), zcl::FmmTriggerEvd::produce(), murem::MergeDigits::produce(), murem::MuonRemove::produce(), jmshower::RecoJMShower::RecoShowers(), sn::LowHighADCRemover::remove(), rb::Cluster::TotalADC(), zcl::FMMTracker::Tracking2D(), dq::FlasherFinder::Veto(), zcl::FastMonopoleTriggers::WeightedCenterCut(), and zcl::FastMMStudy::WeightedCenterCut().

59  {
60  if(i > fADC.size()){
61  printf("RawDigit::ADC(%d) out of range!\n", i);
62  }
63  return fADC[i];
64  }
printf("%d Experimental points found\n", nlines)
std::vector< int16_t > fADC
list of ADC(-like) charge values
Definition: RawDigit.h:49
int16_t rawdata::RawDigit::ADC ( ) const
inherited

Best estimator of the hit charge.

The DCS value appropriate for this readout version

Definition at line 67 of file RawDigit.cxx.

References ana::assert(), rawdata::RawDigit::fADC, rawdata::RawDigit::fVersion, daqdataformats::NanoSliceVersionConvention::getNPretriggeredSamples(), daqdataformats::NanoSliceVersionConvention::getNSamples(), and rawdata::RawDigit::IsMC().

Referenced by rawdata::RawDigit::NADC(), operator==(), and rawdata::RawDigit::Version().

68  {
69  if(IsMC() && fVersion == 0 && fADC.size() == 3){
70  // This is the old-style MC version of fast timing. ADC(0) is the DCS
71  // value.
72  return fADC[0];
73  }
74 
76 
77  const unsigned int nSamples = conv.getNSamples(fVersion);
78  const unsigned int nPretrig = conv.getNPretriggeredSamples(fVersion);
79 
80  assert(fADC.size() == nSamples);
81 
82  if(fVersion == 0){
83  // Version zero is a single DCS value. But I don't see anywhere that
84  // tells us it's DCS, so hardcode it. Check all the sizes make sense.
85  assert(nSamples == 1);
86  assert(nPretrig == 0);
87 
88  return fADC[0];
89  }
90 
91  // Otherwise it's raw and we need to calculate the DCS value for ourselves
92 
93  // Otherwise we don't have the peak value in our dataset
94  assert(nSamples > nPretrig);
95 
96  // Look back 3 samples (1.5us in the FD)
97  const unsigned int kDCSDistance = 3;
98 
99  // Otherwise we don't have the baseline point in our dataset
100  assert(nPretrig >= kDCSDistance);
101 
102  // The DCS value is the peak value minus the baseline value
103  return fADC[nPretrig]-fADC[nPretrig-kDCSDistance];
104  }
uint8_t fVersion
NanoSlice version.
Definition: RawDigit.h:52
uint32_t getNSamples(const version_t ver) const
Get the number of samples.
uint32_t getNPretriggeredSamples(const version_t ver) const
Get number of pretriggered samples.
bool IsMC() const
Definition: RawDigit.h:108
std::vector< int16_t > fADC
list of ADC(-like) charge values
Definition: RawDigit.h:49
assert(nhit_max >=nhit_nbins)
unsigned short rb::CellHit::Cell ( ) const
inline

Definition at line 40 of file CellHit.h.

References fCell.

Referenced by cheat::BackTracker::AccumulateHitContributions(), dqsf::DQSpillFlags::AccumulateSyncMetric(), rb::HitMap::Add(), me::MEFinder::AddMEHit(), dt::Chain::AllHits(), calhit::CalHitAna::analyze(), chaninfo::CosmicEff::analyze(), zcl::SMMTriggerAna::analyze(), slicer::S4DParamCalc::analyze(), mcchk::MonopoleAna::analyze(), dprf::TrackPlots::analyze(), mcchk::RockAna::analyze(), numue::NumuEAna::analyze(), align::SplitTracks::analyze(), calib::AssessCalib::analyze(), validation::NoiseClusterAnalysis::analyze(), zcl::MMCheater::analyze(), zcl::FmmTriggerAna::analyze(), comi::NumiFilteringAna::analyze(), tbem::TBRecoAna::analyze(), zcl::FmmTrackerValidation::analyze(), zcl::FmmTrackerAna::analyze(), trk::KalmanTrackAna::analyze(), showere::ShowerEnergyAna::analyze(), slicer::SlicerAna::analyze(), rockmuon::NDRockMuon::analyze(), comi::NearlineAna::analyze(), remid::ReMIdDedxRock::analyze(), ncid::NCNNKerasVal::analyze(), zcl::FastMMStudy::analyze(), remid::ReMIdDedxFD::analyze(), remid::ReMIdDedxStudies::analyze(), bpfit::BPFTmvaTrainer::analyze(), bpf::BPFCVNAna::analyze(), calib::CosmicTrends::analyze(), CerenkovResponse::analyze(), ncs::Xeff::analyze(), ncs::ROCKMRE::analyze(), upmuana::UpMuRecoAna::analyze(), ncs::NCAna::analyze(), upmuana::UpMuAnalysis::analyze(), htk::HoughTrack::analyze(), bpfit::DimuonFitter::AnaSlice(), calib::CalibAna::ApproximateHitPos(), slicer::Slicer::AreNeighbors(), evd::TZProjPad::AutoZoomTruth(), fuzz::ViewMatchAlg::CalcEnergyProfile(), nerd::ViewMatchAlg::CalcEnergyProfile(), slid::ParticleIDAlg::CalcPlaneHits(), trk::KalmanTrackMerge::CanJoinTracks(), slid::NuEEnergyAlg::CellEnergy(), evd::RecoBaseDrawer::CellHit2D(), evd::RecoBaseDrawer::CellHit3D(), calib::PCHitsList::CellHitToPCHit(), cheat::CheckBackTracking::CheckFLSHitConsistency(), sn::SNMichelAnalyzer::ClusterAroundTrackEnds(), cheat::BackTracker::ClusterToParticle(), rb::CompareByCell(), rb::CompareByPlaneAndCell(), murem::CompareByPlaneAndCell(), zcl::SPCluster::ContaineAssign(), remid::ReMIdTrain::ContainedEvent(), remid::ReMIdDedx::ContainedEvent(), remid::ReMIdDedxRock::ContainedEvent(), remid::ReMIdDedxStudies::ContainedEvent(), cvn::RegPixelMapProducer::CreateMapGivenBoundary(), cvn::PixelMapProducer::CreateMapGivenBoundary(), cvn::RegPixelMapProducer::CreateMapGivenShowerVertex(), cvn::RegPixelMapProducer::CreateMapGivenVertex(), jmshower::RecoJMShower::DepositEnergy(), zcl::SPCluster::Dist(), zcl::SMMTriggerAna::Dist(), dif::DiFShowerFinder::distancefromtrack(), sn::TrackActivityRemover::DistanceHitToPoint(), sn::SNMichelAnalyzer::DistanceHitToPoint(), sn::TrackActivityRemover::DistanceHitToTrackBody(), slid::DeconvolveAlg::DistanceToCore(), evd::RecoBaseDrawer::DrawCluster2D(), evd::RecoBaseDrawer::DrawTrack2D(), jmshower::RecoJMShower::Energy(), cheat::BackTracker::EnergyFromTrackId(), dt::ViewMerger::Extremes(), caf::FillHadClustVars(), calib::StopperThreshold::FillHist(), bpfit::BreakPoint::FillHitList(), sn::SupernovaAna::FillPlaneSeperations(), dqsf::DQSpillFlags::FillPopulatedDCMs(), caf::FillSliceInfo(), caf::FillSliceVars(), trk::CosmicTrackAna::FillTrackHistograms(), calib::StopperThreshold::FillTree(), calib::CalibAna::FillWithCellHit(), comi::NumiFiltering::filter(), bsf::BremShowerFilter::filter(), showere::ShowerEnergyFilterMC::filter(), cvn::RegPixelMapProducer::FindCenterMedian(), cvn::PixelMapProducer::FindCenterMedian(), trk::KalmanTrack::FindTracks(), trk::CosmicTrackUtilities::FindTriCells(), bpfit::DimuonFitter::FindVertexZ(), tut::TutProducer::FitPhoton(), bpfit::DimuonFitter::FitView(), nuesand::FillNueSandbox::FracNonContiguous(), align::SplitTracks::GeoEstimatePos(), numusand::NumuSandFxs::getActivity(), calib::Calibrator::GetAttenScale(), numusand::NumuSandFxs::getAveTrackdEdxLast4Cells(), numusand::NumuSandFxs::getAveTrackdEdxLast6Cells(), numusand::NumuSandFxs::getAveTrackdEdxLast8Cells(), trackinfo::TrackInfoFxs::getAveTrackdEdxLastCells(), cosrej::CosRejFxs::getBBC(), evd::SliceNavigator::GetBounds(), evd::SliceNavigator::GetBox(), align::SplitTracks::GetCellEndpoints(), jmshower::RecoJMShower::GetCellTransDedx(), jmshower::RecoJMShower::GetCentroid(), evd::RecoBaseDrawer::GetClusterOutlines(), evd::RecoBaseDrawer::GetClusterOutlinesConvexHull(), calib::Calibrator::GetDriftScale(), cosrej::CosRejFxs::getFits(), airshower::AirSlicer::GetHitPos(), calib::Calibrator::GetPECorrToGeVScale(), jmshower::RecoJMShower::GetPlaneCentroidCell(), jmshower::RecoJMShower::GetPlaneE1Cell(), zcl::FastMMStudy::GetSurfaceId(), jmshower::JMShower::GetTransHits(), jmshower::RecoJMShower::GetTrkCPlaneCell(), calib::PCHitsList::GetTrueEnergyPathAndLightForCell(), mono::Cluster::hit_is_between_track_end_points(), mono::MonopoleCluster::hit_is_isolated(), mono::Cluster::hit_is_on_road(), mono::Cluster::hit_is_on_surface(), mono::MonopoleTrack::hit_is_on_track(), rb::HitList::HitList(), dt::Chunk::HitsOnLine(), cheat::BackTracker::HitToFLSHit(), nerd::NERDProng::HitToHitDistance(), me::MEFinder::HitToHitDistance(), cheat::BackTracker::HitToParticlesMap(), cheat::BackTracker::HitToPhotonSignal(), ddthelpers::is_equal(), zcl::FastMonopoleTriggers::is_trigger_by_epoch1_fmmtrigger(), novaddt::HorizontalMuonAna::IsHorzMuonTrack(), trk::CosmicTrackAlg::IsTrackDownstreamFromTiming(), skim::EvaluatorNue::KeepSlice(), mono::Cluster::make(), calib::Calibrator::MakeCellHit(), nerd::NERDProng::MakeCluster(), trk::CosmicTrackAlg::MakeTrack(), calib::CalibAna::MatchHits(), murem::FindParent::MatchToOrigSlice(), rb::Cluster::MaxCell(), me::MEFinder::MEDistanceMetric(), dt::DiscreteTracker::MergeParasiteTracks(), rb::Cluster::MinCell(), rb::Cluster::MinMaxMeanXYZ(), zcl::SMMCluster::MissC(), zcl::FastMonopoleTriggers::NumberOfCellsPerLength(), zcl::FmmTriggerEvd::NumberOfCellsPerLength(), zcl::FastMMStudy::NumberOfCellsPerLength(), operator<(), rb::operator<<(), operator==(), zcl::FastMonopoleTriggers::passed_epoch2_fmmtrigger(), slid::ParticleIDAlg::PlaneRadius(), ddthelpers::print(), calib::PCHitsList::ProcessTrack(), calib::PCHitsList::ProcessTrackTrajectory(), noe::noe::produce(), hv::HoughVertex::produce(), trk::KalmanTrack::produce(), nuesand::FillNueSandbox::produce(), trk::KalmanTrackMerge::produce(), numusand::FillSandbox::produce(), cvn::CVNCosmicMapper::produce(), zcl::SPCluster::produce(), earms::ElasticArmsHS::produce(), lem::MakeLibrary::produce(), zcl::SMMCluster::produce(), vdt::VertexDT::produce(), zcl::FmmTriggerEvd::produce(), ncid::MakeNCCosRej::produce(), bpfit::BPFEnergyEstimator::produce(), remid::RecoMuon::produce(), bpfit::BPFEnergyEstimatorOnly::produce(), murem::MuonRemove::produce(), caf::CAFMaker::produce(), slid::ParticleIDAlg::Radius(), jmshower::RecoJMShower::Radius(), jmshower::RecoJMShower::RadiusV(), jmshower::RecoJMShower::RecoShowers(), trk::KalmanTrackMerge::ShiftInterpolationPoints(), skim::SkimmingUtils::SkimmingUtils(), lem::MakeLibrary::SliceMeanPosEWeighted(), lem::MakeLibrary::SliceOrigin(), lem::LEMSummarizer::SliceToLEMInput(), sortCellPtr(), rb::standard_compare(), zcl::FastMonopoleTriggers::StdevCellsPerPlane(), zcl::FmmTriggerEvd::StdevCellsPerPlane(), zcl::FastMMStudy::StdevCellsPerPlane(), zcl::FastMonopoleTriggers::SurfAssign(), zcl::SPCluster::SurfAssign(), zcl::SMMTriggerAna::SurfAssign(), zcl::FastMMStudy::SurfAssign(), calib::StopperThreshold::testPath(), rb::Prong::TotalLength(), mono::Track::Track(), zcl::FMMTracker::Tracking2D(), trk::CosmicTrackUtilities::TrackResiduals(), dt::View::View(), rb::Prong::W(), rb::Track::W(), zcl::FastMonopoleTriggers::WeightedCenterCut(), zcl::FastMMStudy::WeightedCenterCut(), moonshadowana::MoonShadowAna::WriteHitListInfo(), and moonshadowana::MoonShadowAnaHough::WriteHitListInfo().

40 { return fCell; }
unsigned short fCell
cell number
Definition: CellHit.h:68
uint32_t rawdata::RawDigit::Channel ( ) const
inlineinherited
uint32_t rawdata::RawDigit::DaqChannel ( ) const
inlineinherited
bool rb::CellHit::GoodTiming ( ) const
inline
const int rb::CellHit::ID ( ) const
inline

Definition at line 47 of file CellHit.h.

References fID.

Referenced by validation::NoiseClusterAnalysis::analyze(), rb::operator<<(), and rb::standard_compare().

47 { return fID; }
int fID
ID for CellHit.
Definition: CellHit.h:73
bool rawdata::RawDigit::IsMC ( ) const
inlineinherited
bool rawdata::RawDigit::IsRealData ( ) const
inlineinherited
uint32_t rawdata::RawDigit::NADC ( ) const
inlineinherited
geo::OfflineChan rb::CellHit::OfflineChan ( ) const
inline
bool rb::CellHit::operator< ( const CellHit other) const

Definition at line 54 of file CellHit.cxx.

References Cell(), fCell, fPlane, fTNS, Plane(), and TNS().

Referenced by SetID().

55  {
56  if(fPlane < other.Plane() ) return true;
57  else if(fPlane == other.Plane() && fCell < other.Cell() ) return true;
58  else if(fPlane == other.Plane() &&
59  fCell == other.Cell() &&
60  fTNS < other.TNS() ) return true;
61 
62  return false;
63  }
unsigned short fCell
cell number
Definition: CellHit.h:68
float fTNS
time of hit in ns with channel differences removed
Definition: CellHit.h:72
unsigned short fPlane
plane number
Definition: CellHit.h:67
bool rb::CellHit::operator== ( const CellHit other) const

Returns true if the two cellhits have the same plane, cell, PE and TDC values.

Definition at line 81 of file CellHit.cxx.

References rawdata::RawDigit::ADC(), Cell(), fCell, fPlane, rawdata::RawDigit::fTDC, Plane(), and rawdata::RawDigit::TDC().

Referenced by SetID().

82  {
83  if(fPlane == other.Plane() &&
84  fCell == other.Cell() &&
85  this->ADC() == other.ADC() &&
86  fTDC[0] == other.TDC() )
87  return true;
88  return false;
89  }
unsigned short fCell
cell number
Definition: CellHit.h:68
int16_t ADC() const
Best estimator of the hit charge.
Definition: RawDigit.cxx:67
std::vector< int32_t > fTDC
TDC(-like) time value. Event time is subtracted. Vector structure is a historical artifact...
Definition: RawDigit.h:50
unsigned short fPlane
plane number
Definition: CellHit.h:67
float rb::CellHit::PE ( ) const
inline

Definition at line 42 of file CellHit.h.

References fPE.

Referenced by rb::HitMap::Add(), calhit::CalHitAna::analyze(), slicer::S4DParamCalc::analyze(), calib::AssessCalib::analyze(), validation::NoiseClusterAnalysis::analyze(), slicer::SlicerAna::analyze(), rockmuon::NDRockMuon::analyze(), comi::NearlineAna::analyze(), remid::ReMIdDedxRock::analyze(), remid::ReMIdDedxFD::analyze(), remid::ReMIdDedxStudies::analyze(), bpfit::BPFTmvaTrainer::analyze(), slid::LIDTraining::analyze(), upmuana::UpMuRecoAna::analyze(), slid::NuEEnergyAlg::CellEnergy(), evd::RecoBaseDrawer::CellHit2D(), evd::RecoBaseDrawer::CellHit3D(), calib::PCHitsList::CellHitToPCHit(), cvn::RegPixelMapProducer::CreateMapGivenBoundary(), cvn::PixelMapProducer::CreateMapGivenBoundary(), cvn::RegPixelMapProducer::CreateMapGivenShowerVertex(), cvn::RegPixelMapProducer::CreateMapGivenVertex(), calib::StopperThreshold::FillHist(), trk::CosmicTrackAna::FillRecoInfo(), caf::FillSliceVars(), evd::RecoBaseDrawer::FillTQHisto(), trk::CosmicTrackAna::FillTrackHistograms(), calib::StopperThreshold::FillTree(), calib::CalibAna::FillWithCellHit(), bsf::BremShowerFilter::findShowerByReco(), tut::TutProducer::FitPhoton(), calib::Calibrator::GetPECorr(), jmshower::RecoJMShower::GetPlaneCentroidCell(), jmshower::RecoJMShower::GetPlaneE1Cell(), calib::Calibrator::GetTimeRes(), slid::NuEEnergyAlg::HadronicDepEnergy(), rb::HitList::HitList(), trk::KalmanTrackMerge::JoinTracks(), rb::Cluster::MeanTNS(), rb::Cluster::MinMaxMeanXYZ(), slid::NuEEnergyAlg::NonStdCellEnergy(), rb::operator<<(), calib::PCHitsList::ProcessTrack(), slid::Recluster::produce(), numusand::FillSandbox::produce(), bpfit::BPFEnergyEstimator::produce(), bpfit::BPFEnergyEstimatorOnly::produce(), caf::CAFMaker::produce(), jmshower::RecoJMShower::RadiusV(), jmshower::RecoJMShower::RecoShowers(), and rb::Cluster::TotalPE().

42 { return fPE; }
float fPE
after ADC–>PE gain applied
Definition: CellHit.h:71
unsigned short rb::CellHit::Plane ( ) const
inline

Definition at line 39 of file CellHit.h.

References fPlane.

Referenced by cheat::BackTracker::AccumulateHitContributions(), dqsf::DQSpillFlags::AccumulateSyncMetric(), rb::HitMap::Add(), me::MEFinder::AddMEHit(), fuzz::FuzzyKVertex::AddProng(), dif::DiFShowerFinder::adjustPlane(), dif::DiFShowerFinder::adjustPlane_end(), dt::Chain::AllHits(), calhit::CalHitAna::analyze(), chaninfo::CosmicEff::analyze(), zcl::SMMTriggerAna::analyze(), dprf::TrackPlots::analyze(), slicer::S4DParamCalc::analyze(), mcchk::MonopoleAna::analyze(), mcchk::RockAna::analyze(), numue::NumuEAna::analyze(), align::SplitTracks::analyze(), murem::MuonRemoveAna::analyze(), calib::AssessCalib::analyze(), validation::NoiseClusterAnalysis::analyze(), zcl::MMCheater::analyze(), comi::NumiFilteringAna::analyze(), zcl::FmmTriggerAna::analyze(), tbem::TBRecoAna::analyze(), zcl::FmmTrackerAna::analyze(), zcl::FmmTrackerValidation::analyze(), trk::KalmanTrackAna::analyze(), showere::ShowerEnergyAna::analyze(), slicer::SlicerAna::analyze(), rockmuon::NDRockMuon::analyze(), remid::ReMIdDedxRock::analyze(), comi::NearlineAna::analyze(), remid::ReMIdDedxFD::analyze(), remid::ReMIdDedxStudies::analyze(), zcl::FastMMStudy::analyze(), calib::CosmicTrends::analyze(), CerenkovResponse::analyze(), ncs::Xeff::analyze(), ncs::ROCKMRE::analyze(), ncs::NCAna::analyze(), upmuana::UpMuRecoAna::analyze(), upmuana::UpMuAnalysis::analyze(), htk::HoughTrack::analyze(), bpfit::DimuonFitter::AnaSlice(), calib::CalibAna::ApproximateHitPos(), slicer::Slicer::AreNeighbors(), evd::TZProjPad::AutoZoomTruth(), fuzz::ViewMatchAlg::CalcEnergyProfile(), nerd::ViewMatchAlg::CalcEnergyProfile(), slid::ParticleIDAlg::CalcPlaneHits(), trk::KalmanTrackMerge::CanJoinTracks(), evd::RecoBaseDrawer::CellHit2D(), evd::RecoBaseDrawer::CellHit3D(), calib::PCHitsList::CellHitToPCHit(), cellSortZ(), cheat::CheckBackTracking::CheckFLSHitConsistency(), murem::TrackCleanUpAlg::CleanUpTrack(), sn::SNMichelAnalyzer::ClusterAroundTrackEnds(), cheat::BackTracker::ClusterToParticle(), rb::CompareByPlane(), rb::CompareByPlaneAndCell(), murem::CompareByPlaneAndCell(), zcl::SPCluster::ContaineAssign(), remid::ReMIdTrain::ContainedEvent(), remid::ReMIdDedx::ContainedEvent(), remid::ReMIdDedxRock::ContainedEvent(), remid::ReMIdDedxStudies::ContainedEvent(), cvn::RegPixelMapProducer::CreateMapGivenBoundary(), cvn::PixelMapProducer::CreateMapGivenBoundary(), cvn::RegPixelMapProducer::CreateMapGivenShowerVertex(), cvn::RegPixelMapProducer::CreateMapGivenVertex(), jmshower::RecoJMShower::DepositEnergy(), zcl::SPCluster::Dist(), zcl::SMMTriggerAna::Dist(), dif::DiFShowerFinder::distancefromtrack(), sn::TrackActivityRemover::DistanceHitToPoint(), sn::SNMichelAnalyzer::DistanceHitToPoint(), sn::TrackActivityRemover::DistanceHitToTrackBody(), slid::DeconvolveAlg::DistanceToCore(), evd::RecoBaseDrawer::DrawCluster2D(), evd::RecoBaseDrawer::DrawTrack2D(), jmshower::RecoJMShower::Energy(), cheat::BackTracker::EnergyFromTrackId(), dif::DiFShowerFinder::eparm(), dt::ViewMerger::Extremes(), caf::FillHadClustVars(), calib::StopperThreshold::FillHist(), bpfit::BreakPoint::FillHitList(), sn::SupernovaAna::FillPlaneSeperations(), dqsf::DQSpillFlags::FillPopulatedDCMs(), trk::CosmicTrackAna::FillRecoInfo(), caf::FillSliceInfo(), caf::FillSliceVars(), trk::CosmicTrackAna::FillTrackHistograms(), calib::StopperThreshold::FillTree(), calib::CalibAna::FillWithCellHit(), comi::NumiFiltering::filter(), bsf::BremShowerFilter::filter(), showere::ShowerEnergyFilterMC::filter(), cvn::RegPixelMapProducer::FindCenterMedian(), cvn::PixelMapProducer::FindCenterMedian(), bsf::BremShowerFilter::findShowerByReco(), dif::DiFShowerFinder::findShowerByReco(), trk::KalmanTrack::FindTracks(), trk::CosmicTrackUtilities::FindTriCells(), cvn::RegPixelMapProducer::FindVertexMaxGap(), cvn::PixelMapProducer::FindVertexMaxGap(), cvn::RegPixelMapProducer::FindVertexWindowThreshold(), cvn::PixelMapProducer::FindVertexWindowThreshold(), bpfit::DimuonFitter::FindVertexZ(), tut::TutProducer::FitPhoton(), bpfit::BreakPoint::FitTracks(), bpfit::DimuonFitter::FitView(), nuesand::FillNueSandbox::FracAngChanges(), nuesand::FillNueSandbox::FracModalHits(), nuesand::FillNueSandbox::FracNonContiguous(), align::SplitTracks::GeoEstimatePos(), numusand::NumuSandFxs::getActivity(), calib::Calibrator::GetAttenScale(), numusand::NumuSandFxs::getAveTrackdEdxLast4Cells(), numusand::NumuSandFxs::getAveTrackdEdxLast6Cells(), numusand::NumuSandFxs::getAveTrackdEdxLast8Cells(), trackinfo::TrackInfoFxs::getAveTrackdEdxLastCells(), cosrej::CosRejFxs::getBBC(), evd::SliceNavigator::GetBounds(), evd::SliceNavigator::GetBox(), align::SplitTracks::GetCellEndpoints(), jmshower::RecoJMShower::GetCellTransDedx(), jmshower::RecoJMShower::GetCentroid(), evd::RecoBaseDrawer::GetClusterOutlines(), evd::RecoBaseDrawer::GetClusterOutlinesConvexHull(), nuesand::FillNueSandbox::GetdEdx(), calib::Calibrator::GetDriftScale(), cosrej::CosRejFxs::getFits(), airshower::AirSlicer::GetHitPos(), calib::Calibrator::GetPECorr(), calib::Calibrator::GetPECorrToGeVScale(), jmshower::JMShower::GetPlaneHits(), jmshower::RecoJMShower::GetRVPStats(), zcl::FastMMStudy::GetSurfaceId(), jmshower::JMShower::GetTransHits(), jmshower::RecoJMShower::GetTrkCPlaneCell(), calib::PCHitsList::GetTrueEnergyPathAndLightForCell(), moonshadowana::MoonShadowAna::GetX(), moonshadowana::MoonShadowAnaHough::GetX(), moonshadowana::MoonShadowAna::GetY(), moonshadowana::MoonShadowAnaHough::GetY(), slid::NuEEnergyAlg::HadronicDepEnergy(), mono::Cluster::hit_is_between_track_end_points(), mono::Cluster::hit_is_in_time_with_road(), mono::MonopoleCluster::hit_is_isolated(), mono::Cluster::hit_is_on_road(), mono::Cluster::hit_is_on_surface(), mono::MonopoleTrack::hit_is_on_track(), rb::HitList::HitList(), mono::Cluster::hits_are_view_matched(), cheat::BackTracker::HitToFLSHit(), nerd::NERDProng::HitToHitDistance(), me::MEFinder::HitToHitDistance(), cheat::BackTracker::HitToParticlesMap(), cheat::BackTracker::HitToPhotonSignal(), ddthelpers::is_equal(), zcl::FastMonopoleTriggers::is_trigger_by_epoch1_fmmtrigger(), trk::CosmicTrackSelection::IsCalibTrack(), calib::RockMuonStopperSelection::IsContainedStopper(), calib::PCHitsList::IsGoodTrack(), novaddt::HorizontalMuonAna::IsHorzMuonTrack(), trk::CosmicTrackAlg::IsTrackDownstreamFromTiming(), trk::KalmanTrackMerge::JoinTracks(), skim::EvaluatorNue::KeepSlice(), mono::Cluster::make(), calib::Calibrator::MakeCellHit(), nerd::NERDProng::MakeCluster(), trk::CosmicTrackAlg::MakeTrack(), calib::CalibAna::MatchHits(), murem::FindParent::MatchToOrigSlice(), nuesand::FillNueSandbox::MaxGap(), nuesand::FillNueSandbox::MaxHits(), rb::Cluster::MaxPlane(), me::MEFinder::MEDistanceMetric(), dt::DiscreteTracker::MergeParasiteTracks(), rb::Cluster::MinMaxMeanXYZ(), rb::Cluster::MinPlane(), zcl::SMMCluster::MissC(), dif::DiFShowerFinder::muonstub(), numue::NumuEAlg::NDEnergy(), numue::NumuEAlg::NDTrackEnergySplitting(), zcl::FastMonopoleTriggers::NumberOfCellsPerLength(), zcl::FmmTriggerEvd::NumberOfCellsPerLength(), zcl::FastMMStudy::NumberOfCellsPerLength(), zcl::FastMonopoleTriggers::NumberOfHitsInOverlapPlanesCut(), zcl::FmmTriggerEvd::NumberOfHitsInOverlapPlanesCut(), zcl::FastMMStudy::NumberOfHitsInOverlapPlanesCut(), operator<(), rb::operator<<(), operator==(), zcl::FastMonopoleTriggers::passed_epoch2_fmmtrigger(), rb::Track::PlaneDirMap(), slid::ParticleIDAlg::PlaneRadius(), ddthelpers::print(), calib::PCHitsList::ProcessTrack(), calib::PCHitsList::ProcessTrackTrajectory(), noe::noe::produce(), hv::HoughVertex::produce(), trk::KalmanTrack::produce(), nuesand::FillNueSandbox::produce(), trk::KalmanTrackMerge::produce(), presel::NuePresel::produce(), numusand::FillSandbox::produce(), cvn::CVNCosmicMapper::produce(), zcl::SPCluster::produce(), earms::ElasticArmsHS::produce(), lem::MakeLibrary::produce(), zcl::SMMCluster::produce(), zcl::FMMTracker::produce(), vdt::VertexDT::produce(), zcl::FmmTriggerEvd::produce(), jmshower::NueSel::produce(), rvp::RecVarPID::produce(), dif::DiFShowerFinder::produce(), xnue::XnuePID::produce(), jmshower::NueSelLID::produce(), remid::RecoMuon::produce(), murem::MuonRemove::produce(), caf::CAFMaker::produce(), slid::ParticleIDAlg::Radius(), jmshower::RecoJMShower::Radius(), jmshower::RecoJMShower::RadiusV(), jmshower::RecoJMShower::RecoShowers(), trk::KalmanTrackMerge::ShiftInterpolationPoints(), skim::SkimmingUtils::SkimmingUtils(), lem::MakeLibrary::SliceMeanPosEWeighted(), lem::MakeLibrary::SliceOrigin(), lem::LEMSummarizer::SliceToLEMInput(), rb::standard_compare(), zcl::FastMonopoleTriggers::StdevCellsPerPlane(), zcl::FmmTriggerEvd::StdevCellsPerPlane(), zcl::FastMMStudy::StdevCellsPerPlane(), zcl::FastMonopoleTriggers::SurfAssign(), zcl::SPCluster::SurfAssign(), zcl::SMMTriggerAna::SurfAssign(), zcl::FastMMStudy::SurfAssign(), calib::StopperThreshold::testPath(), rb::Prong::TotalLength(), mono::Track::Track(), zcl::FMMTracker::Tracking2D(), trk::CosmicTrackUtilities::TrackResiduals(), dt::View::View(), zcl::SPCluster::ViewCheck(), zcl::SMMTriggerAna::ViewCheck(), rb::Prong::W(), rb::Track::W(), zcl::FastMonopoleTriggers::WeightedCenterCut(), zcl::FastMMStudy::WeightedCenterCut(), moonshadowana::MoonShadowAna::WriteHitListInfo(), and moonshadowana::MoonShadowAnaHough::WriteHitListInfo().

39 { return fPlane; }
unsigned short fPlane
plane number
Definition: CellHit.h:67
void rb::CellHit::Print ( ) const

Definition at line 48 of file CellHit.cxx.

References om::cout.

49  {
50  std::cout << *this;
51  }
OStream cout
Definition: OStream.cxx:6
void rawdata::RawDigit::SetADC ( uint32_t  i,
int16_t  iADC 
)
inherited
void rb::CellHit::SetCell ( unsigned short  cell)
inline
void rawdata::RawDigit::SetChannel ( uint32_t  iChan)
inlineinherited
void rawdata::RawDigit::SetDaqChannel ( uint32_t  iChan)
inlineinherited

Definition at line 100 of file RawDigit.h.

Referenced by rsim::ReadoutSim::CreateRawDigits(), and daq2raw::OnlineUnpack::ProcessRawEvent_().

100 { fDaqChannel = iChan; }
uint32_t fDaqChannel
DAQ readout channel.
Definition: RawDigit.h:58
void rb::CellHit::SetID ( int  id)
inline

Compares hits by plane, then cell, then time.

Definition at line 58 of file CellHit.h.

References plot_validation_datamc::c, fID, msf_helper::o, operator<(), operator<<, operator==(), and fhicl::other.

void rawdata::RawDigit::SetMC ( bool  isMC = true)
inlineinherited
void rb::CellHit::SetPE ( float  pe)
inline
void rb::CellHit::SetPlane ( unsigned short  plane)
inline
void rawdata::RawDigit::SetTDC ( int32_t  iTDC)
inherited

Definition at line 116 of file RawDigit.cxx.

References ana::assert(), and rawdata::RawDigit::fTDC.

Referenced by rsim::FPGA_DualCorrelatedSampling::ASICToDigits(), rsim::FPGA_MatchedFiltering::ASICToDigits(), rsim::ReadoutSim::CreateRawDigits(), daq2raw::DAQHit2Raw::FillRawDigits(), daq2raw::OnlineUnpack::ProcessRawEvent_(), rawp::CheckDAQChannelMap::Reco(), rawp::FillRawDigits::Reco(), and rawdata::RawDigit::TDC().

116  {
117  assert(fTDC.size() == 1);
118  fTDC[0] = iTDC;
119  }
std::vector< int32_t > fTDC
TDC(-like) time value. Event time is subtracted. Vector structure is a historical artifact...
Definition: RawDigit.h:50
assert(nhit_max >=nhit_nbins)
void rb::CellHit::SetTNS ( float  tns,
bool  good 
)
inline
void rawdata::RawDigit::SetVersion ( uint8_t  v)
inlineinherited
void rb::CellHit::SetView ( geo::View_t  view)
inline
int32_t rawdata::RawDigit::TDC ( ) const
inlineinherited

The time of the last baseline sample.

Definition at line 94 of file RawDigit.h.

References rawdata::RawDigit::SetADC(), and rawdata::RawDigit::SetTDC().

Referenced by calhit::CalHitAna::analyze(), sn::SupernovaAna::analyze(), pa::HitEva::analyze(), zcl::MMCheater::analyze(), zcl::FastMMStudy::analyze(), cheat::BackTracker::ClusterToParticle(), rsim::ReadoutSim::CreateRawDigits(), digi_sort(), evd::RawDataDrawer::DimFiltered(), raw2daq::RawDigit2DAQHit::FillDAQHits(), mcdatadaq::DAQSimulator::fillMicroSlices(), calib::CalibAna::FillWithCellHit(), bsf::BremShowerFilter::filter(), mono::Cluster::find(), util::HashFunctions::Generate(), mcdatadaq::DAQSimulator::getNanoSliceOrder(), calib::Calibrator::GetTNS(), mono::Cluster::hit_is_in_time_with_road(), evd::RawDataDrawer::HitColor(), sn::HighEnergyRemover::HitInTDCVetoWindow(), cheat::BackTracker::HitToParticlesMap(), ddthelpers::is_equal(), dq::FlasherFinder::IsInstigator(), mono::Cluster::make(), murem::FindParent::MatchToOrigSlice(), rb::operator<<(), operator==(), ddthelpers::print(), mcdatadaq::DAQSimulator::print(), noe::noe::produce(), MergeDaqCollections::MergeDaqCollections::produce(), murem::MuonRemove::produce(), evd::RawDataDrawer::RawDigit2D(), evd::RawDataDrawer::RawDigit3D(), evd::RawDataDrawer::RawDigitHardware(), mono::Track::Track(), dq::FlasherFinder::Veto(), moonshadowana::MoonShadowAna::WriteHitListInfo(), and moonshadowana::MoonShadowAnaHough::WriteHitListInfo().

94 { return fTDC[0]; }
std::vector< int32_t > fTDC
TDC(-like) time value. Event time is subtracted. Vector structure is a historical artifact...
Definition: RawDigit.h:50
float rb::CellHit::TNS ( ) const
inline

Returns the time of the hit in nanoseconds. This is the multipoint fit (a.k.a. fine timing) if available, and the time of the last baseline sample (a.k.a. coarse timing) if not.

Definition at line 46 of file CellHit.h.

References fTNS.

Referenced by me::MEFinder::AddMEHit(), calhit::CalHitAna::analyze(), comi::CosmicMetrics::analyze(), zcl::SMMTriggerAna::analyze(), slicer::S4DParamCalc::analyze(), mcchk::MonopoleAna::analyze(), febstat::EventFEBStatus::analyze(), pa::ClusterEva::analyze(), validation::NoiseClusterAnalysis::analyze(), zcl::FmmTriggerAna::analyze(), tbem::TBRecoAna::analyze(), zcl::FmmTrackerAna::analyze(), zcl::FmmTrackerValidation::analyze(), slicer::SlicerAna::analyze(), comi::NearlineAna::analyze(), LightLevels::analyze(), ncs::Xeff::analyze(), ncs::ROCKMRE::analyze(), ncs::NCAna::analyze(), evd::RecoBaseDrawer::CellHit2D(), evd::RecoBaseDrawer::CellHit3D(), calib::PCHitsList::CellHitToPCHit(), cheat::BackTracker::CloseInTime(), sn::SNMichelAnalyzer::ClusterAroundTrackEnds(), rb::CompareByTime(), cvn::PixelMapProducer::CreateMapGivenBoundary(), zcl::SPCluster::dupCheck(), skim::ParametersNumu::EarliestLatestHitPos(), bpfit::BreakPoint::FillHitList(), caf::FillProngVars(), caf::FillSliceVars(), evd::RecoBaseDrawer::FillTQHisto(), trk::CosmicTrackAna::FillTrackHistograms(), calib::CalibAna::FillWithCellHit(), calib::Calibrator::GetT(), rb::HitList::HitList(), slicer::MMSlicer::HitTime(), slicer::Slicer::HitTime(), zcl::FastMonopoleTriggers::is_trigger_by_epoch1_fmmtrigger(), novaddt::HorizontalMuonAna::IsHorzMuonTrack(), trk::CosmicTrackAlg::IsTrackDownstreamFromTiming(), trk::CosmicTrackAlg::MakeTrack(), calib::CalibAna::MatchHits(), rb::Cluster::MaxTNS(), rb::Cluster::MeanTNS(), me::MEFinder::MEDistanceMetric(), rb::Cluster::MinTNS(), zcl::SMMCluster::MissC(), operator<(), rb::operator<<(), skim::ParametersNumu::ParametersNumu(), zcl::FastMonopoleTriggers::passed_epoch2_fmmtrigger(), vf::VertexFinder::produce(), cvntf::CVNCosmicTFFilt::produce(), noe::noe::produce(), cvn::CVNCosmicMapper::produce(), zcl::SPCluster::produce(), zcl::FMMTracker::produce(), zcl::FmmTriggerEvd::produce(), sn::TrackActivityRemover::remove(), skim::SkimmingUtils::SkimmingUtils(), zcl::FMMTracker::Tracking2D(), zcl::SPCluster::ViewCheck(), and zcl::SMMTriggerAna::ViewCheck().

46 { return fTNS; }
float fTNS
time of hit in ns with channel differences removed
Definition: CellHit.h:72
uint8_t rawdata::RawDigit::Version ( ) const
inlineinherited
geo::View_t rb::CellHit::View ( ) const
inline

Definition at line 41 of file CellHit.h.

References fView.

Referenced by dqsf::DQSpillFlags::AccumulateSyncMetric(), rb::Cluster::Add(), chaninfo::CosmicEff::analyze(), zcl::SMMTriggerAna::analyze(), slicer::S4DParamCalc::analyze(), mcchk::MonopoleAna::analyze(), mcchk::RockAna::analyze(), align::SplitTracks::analyze(), calib::AssessCalib::analyze(), validation::NoiseClusterAnalysis::analyze(), zcl::MMCheater::analyze(), comi::NumiFilteringAna::analyze(), zcl::FmmTriggerAna::analyze(), zcl::FmmTrackerAna::analyze(), zcl::FmmTrackerValidation::analyze(), showere::ShowerEnergyAna::analyze(), slicer::SlicerAna::analyze(), comi::NearlineAna::analyze(), zcl::FastMMStudy::analyze(), ncs::Xeff::analyze(), ncs::ROCKMRE::analyze(), upmuana::UpMuRecoAna::analyze(), ncs::NCAna::analyze(), upmuana::UpMuAnalysis::analyze(), bpfit::DimuonFitter::AnaSlice(), calib::CalibAna::ApproximateHitPos(), slicer::Slicer::AreNeighbors(), slid::NuEEnergyAlg::CellEnergy(), evd::RecoBaseDrawer::CellHit2D(), evd::RecoBaseDrawer::CellHit3D(), calib::PCHitsList::CellHitToPCHit(), cvn::PixelMapProducer::CreateMapGivenBoundary(), cvn::RegPixelMapProducer::CreateMapGivenShowerVertex(), cvn::RegPixelMapProducer::CreateMapGivenVertex(), dif::DiFShowerFinder::distancefromtrack(), sn::TrackActivityRemover::DistanceHitToPoint(), sn::SNMichelAnalyzer::DistanceHitToPoint(), sn::TrackActivityRemover::DistanceHitToTrackBody(), slid::DeconvolveAlg::DistanceToCore(), evd::RecoBaseDrawer::DrawTrack2D(), caf::FillHadClustVars(), calib::StopperThreshold::FillHist(), sn::SupernovaAna::FillPlaneSeperations(), dqsf::DQSpillFlags::FillPopulatedDCMs(), trk::CosmicTrackAna::FillRecoInfo(), caf::FillSliceVars(), trk::CosmicTrackAna::FillTrackHistograms(), calib::StopperThreshold::FillTree(), calhit::CalHitAna::FillTruthInfo(), calib::CalibAna::FillWithCellHit(), comi::NumiFiltering::filter(), showere::ShowerEnergyFilterMC::filter(), cvn::PixelMapProducer::FindCenterMedian(), airshower::AirSlicer::FindNeighbors(), trk::KalmanTrackAna::FindVisibleProngs(), cheat::RecoCheckAna::FindVisibleProngs(), fuzz::FuzzyKValidate::FindVisibleProngs3D(), fuzz::FuzzyKVertex::FindVisibleProngs3D(), tut::TutProducer::FitPhoton(), nuesand::FillNueSandbox::FracAngChanges(), nuesand::FillNueSandbox::FracModalHits(), numusand::NumuSandFxs::getActivity(), evd::SliceNavigator::GetBounds(), evd::SliceNavigator::GetBox(), cosrej::CosRejFxs::getFits(), calib::Calibrator::GetPECorr(), jmshower::RecoJMShower::GetRVPStats(), zcl::FastMMStudy::GetSurfaceId(), jmshower::JMShower::GetTransHits(), slid::NuEEnergyAlg::HadronicDepEnergy(), mono::MonopoleTrack::hit_is_on_track(), cheat::BackTracker::HitCollectionEfficiency(), dt::Chunk::HitsOnLine(), nerd::NERDProng::HitToHitDistance(), me::MEFinder::HitToHitDistance(), zcl::FastMonopoleTriggers::is_trigger_by_epoch1_fmmtrigger(), trk::CosmicTrackSelection::IsCalibTrack(), calib::PCHitsList::IsGoodTrack(), novaddt::HorizontalMuonAna::IsHorzMuonTrack(), nerd::NERDProng::MakeCluster(), calib::Calibrator::MakeRecoHit(), trk::CosmicTrackAlg::MakeTrack(), me::MEFinder::MEDistanceMetric(), zcl::SMMCluster::MissC(), slid::NuEEnergyAlg::NonStdCellEnergy(), zcl::FastMonopoleTriggers::NumberOfCellsPerLength(), zcl::FmmTriggerEvd::NumberOfCellsPerLength(), zcl::FastMMStudy::NumberOfCellsPerLength(), rb::operator<<(), zcl::FastMonopoleTriggers::passed_epoch2_fmmtrigger(), cheat::BackTracker::PassMuonCuts(), slid::ParticleIDAlg::PlaneRadius(), ddthelpers::print(), calib::PCHitsList::ProcessTrackTrajectory(), hv::HoughVertex::produce(), nuesand::FillNueSandbox::produce(), numusand::FillSandbox::produce(), presel::NuePresel::produce(), lem::Preselection::produce(), cvn::CVNCosmicMapper::produce(), slid::SliceLIDBuilder::produce(), zcl::SPCluster::produce(), lem::MakeLibrary::produce(), zcl::FmmTriggerEvd::produce(), rvp::RecVarPID::produce(), cheat::MCCheater::produce(), remid::RecoMuon::produce(), caf::CAFMaker::produce(), slid::ParticleIDAlg::Radius(), rb::Cluster::RemoveHit(), lem::MakeLibrary::SliceOrigin(), lem::LEMSummarizer::SliceToLEMInput(), zcl::FastMonopoleTriggers::StdevCellsPerPlane(), zcl::FmmTriggerEvd::StdevCellsPerPlane(), zcl::FastMMStudy::StdevCellsPerPlane(), calib::StopperThreshold::testPath(), dt::ViewMerger::TotalChargePerView(), rb::Prong::TotalLength(), rb::Cluster::W(), rb::Prong::W(), rb::Track::W(), zcl::FastMonopoleTriggers::WeightedCenterCut(), zcl::FastMMStudy::WeightedCenterCut(), moonshadowana::MoonShadowAna::WriteHitListInfo(), and moonshadowana::MoonShadowAnaHough::WriteHitListInfo().

41 { return fView; }
geo::View_t fView
view (geo::kX or geo::kY)
Definition: CellHit.h:69

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  o,
const CellHit c 
)
friend

Definition at line 66 of file CellHit.cxx.

Referenced by SetID().

67  {
68  o << std::setiosflags(std::ios::fixed) << std::setprecision(2);
69  o << " View = " << std::setw(5) << std::right << c.View()
70  << " ID = " << std::setw(5) << std::right << c.ID()
71  << " Plane = " << std::setw(5) << std::right << c.Plane()
72  << " Cell = " << std::setw(5) << std::right << c.Cell()
73  << " Channel = "<< std::setw(5) << std::right << c.Channel()
74  << " TDC = " << std::setw(5) << std::right << c.TDC()
75  << " TNS = " << std::setw(5) << std::right << c.TNS()
76  << " ADC = " << std::setw(5) << std::right << c.ADC()
77  << " PE = " << std::setw(5) << std::right << c.PE();
78  return o;
79  }
constexpr auto const & right(const_AssnsIter< L, R, D, Dir > const &a, const_AssnsIter< L, R, D, Dir > const &b)
Definition: AssnsIter.h:112

Member Data Documentation

std::vector<int16_t> rawdata::RawDigit::fADC
inherited

list of ADC(-like) charge values

Definition at line 49 of file RawDigit.h.

Referenced by rawdata::RawDigit::ADC(), calib::Calibrator::MakeCellHit(), rawdata::RawDigit::SetADC(), and rb::standard_compare().

unsigned short rb::CellHit::fCell
protected

cell number

Definition at line 68 of file CellHit.h.

Referenced by Cell(), OfflineChan(), operator<(), operator==(), and SetCell().

bool rb::CellHit::fCoarseTiming
protected

Was the timing fit bad?

Definition at line 75 of file CellHit.h.

Referenced by GoodTiming(), and SetTNS().

bool rawdata::RawDigit::fDataPresent
inherited

Definition at line 45 of file RawDigit.h.

Referenced by daq2raw::OnlineUnpack::ProcessRawEvent_().

bool rawdata::RawDigit::fDebugMode
inherited

Definition at line 44 of file RawDigit.h.

Referenced by daq2raw::OnlineUnpack::ProcessRawEvent_().

uint8_t rawdata::RawDigit::fFEBStatus
inherited
uint8_t rawdata::RawDigit::fFrameSequenceNumber
inherited
int rb::CellHit::fID
protected

ID for CellHit.

Definition at line 73 of file CellHit.h.

Referenced by ID(), and SetID().

bool rawdata::RawDigit::fLinkStatus
inherited

Definition at line 46 of file RawDigit.h.

Referenced by daq2raw::OnlineUnpack::ProcessRawEvent_().

float rb::CellHit::fPE
protected

after ADC–>PE gain applied

Definition at line 71 of file CellHit.h.

Referenced by PE(), and SetPE().

unsigned short rb::CellHit::fPlane
protected

plane number

Definition at line 67 of file CellHit.h.

Referenced by OfflineChan(), operator<(), operator==(), Plane(), and SetPlane().

uint16_t rawdata::RawDigit::fReserved
inherited

Should be 0xCAFE.

Definition at line 47 of file RawDigit.h.

Referenced by daq2raw::OnlineUnpack::ProcessRawEvent_().

std::vector<int32_t> rawdata::RawDigit::fTDC
inherited

TDC(-like) time value. Event time is subtracted. Vector structure is a historical artifact.

Definition at line 50 of file RawDigit.h.

Referenced by operator==(), rawdata::RawDigit::SetTDC(), and rb::standard_compare().

float rb::CellHit::fTNS
protected

time of hit in ns with channel differences removed

Definition at line 72 of file CellHit.h.

Referenced by operator<(), SetTNS(), and TNS().

uint8_t rawdata::RawDigit::fVersion
inherited

NanoSlice version.

Definition at line 52 of file RawDigit.h.

Referenced by rawdata::RawDigit::ADC(), daq2raw::OnlineUnpack::ProcessRawEvent_(), and rawdata::RawDigit::Version().

geo::View_t rb::CellHit::fView
protected

view (geo::kX or geo::kY)

Definition at line 69 of file CellHit.h.

Referenced by SetView(), and View().


The documentation for this class was generated from the following files: