Public Member Functions | Public Attributes | Protected Attributes | List of all members
cheat::SimHit Class Reference

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

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

Public Member Functions

 SimHit ()
 
 ~SimHit ()
 
 SimHit (const rb::CellHit &)
 
void Print () const
 
double CoorX () const
 
double CoorY () const
 
double CoorZ () const
 
double TotE () const
 
unsigned short NP () const
 
std::vector< intTrID () const
 
std::vector< intPID () const
 
std::vector< double > EnD () const
 
std::vector< double > Tim () const
 
void SetCoorX (double coorx)
 
void SetCoorY (double coory)
 
void SetCoorZ (double coorz)
 
void SetTotE (double tote)
 
void SetNP (unsigned short np)
 
void SetTrID (std::vector< int > TrID)
 
void SetPID (std::vector< int > PID)
 
void SetEnD (std::vector< double > EnD)
 
void SetTim (std::vector< double > Tim)
 
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

double fCoorX
 X coord of hit. More...
 
double fCoorY
 Y coord of hit. More...
 
double fCoorZ
 Z coord of hit. More...
 
double fTotE
 Total Energy dep from all particles. More...
 
unsigned short fNP
 size of vectors More...
 
std::vector< intfTrID
 vector of sim track IDs More...
 
std::vector< intfPID
 vector of sim particle IDs More...
 
std::vector< double > fEnD
 vector of energy deposits More...
 
std::vector< double > fTim
 vector of times More...
 
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...
 

Detailed Description

Definition at line 17 of file SimHit.h.

Constructor & Destructor Documentation

cheat::SimHit::SimHit ( )

Definition at line 18 of file SimHit.cxx.

18  :
19  rb::CellHit(),
20  fCoorX(0),
21  fCoorY(0),
22  fCoorZ(0),
23  fTotE(0),
24  fNP(0),
25  fTrID(0),
26  fPID(0),
27  fEnD(0),
28  fTim(0)
29  {
30  }
double fCoorZ
Z coord of hit.
Definition: SimHit.h:64
std::vector< int > fPID
vector of sim particle IDs
Definition: SimHit.h:68
double fCoorX
X coord of hit.
Definition: SimHit.h:62
std::vector< double > fTim
vector of times
Definition: SimHit.h:70
std::vector< double > fEnD
vector of energy deposits
Definition: SimHit.h:69
double fCoorY
Y coord of hit.
Definition: SimHit.h:63
A rawdata::RawDigit with channel information decoded.
Definition: CellHit.h:27
double fTotE
Total Energy dep from all particles.
Definition: SimHit.h:65
unsigned short fNP
size of vectors
Definition: SimHit.h:66
std::vector< int > fTrID
vector of sim track IDs
Definition: SimHit.h:67
cheat::SimHit::~SimHit ( )

Definition at line 34 of file SimHit.cxx.

35  {
36  }
cheat::SimHit::SimHit ( const rb::CellHit )

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<<(), rb::CellHit::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(), rb::CellHit::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
inlineinherited

Definition at line 40 of file CellHit.h.

References rb::CellHit::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(), remid::ReMIdDedxFD::analyze(), remid::ReMIdDedxStudies::analyze(), zcl::FastMMStudy::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(), rb::CellHit::operator<(), rb::operator<<(), rb::CellHit::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(), bpfit::BPFEnergyEstimatorOnly::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(), 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
double cheat::SimHit::CoorX ( ) const
inline

Definition at line 33 of file SimHit.h.

References fCoorX.

33 { return fCoorX; }
double fCoorX
X coord of hit.
Definition: SimHit.h:62
double cheat::SimHit::CoorY ( ) const
inline

Definition at line 34 of file SimHit.h.

References fCoorY.

34 { return fCoorY; }
double fCoorY
Y coord of hit.
Definition: SimHit.h:63
double cheat::SimHit::CoorZ ( ) const
inline

Definition at line 35 of file SimHit.h.

References fCoorZ.

35 { return fCoorZ; }
double fCoorZ
Z coord of hit.
Definition: SimHit.h:64
uint32_t rawdata::RawDigit::DaqChannel ( ) const
inlineinherited
std::vector<double> cheat::SimHit::EnD ( ) const
inline

Definition at line 40 of file SimHit.h.

References fEnD.

Referenced by SetEnD().

40 { return fEnD; }
std::vector< double > fEnD
vector of energy deposits
Definition: SimHit.h:69
bool rb::CellHit::GoodTiming ( ) const
inlineinherited
const int rb::CellHit::ID ( ) const
inlineinherited

Definition at line 47 of file CellHit.h.

References rb::CellHit::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
unsigned short cheat::SimHit::NP ( ) const
inline

Definition at line 37 of file SimHit.h.

References fNP.

37 { return fNP; }
unsigned short fNP
size of vectors
Definition: SimHit.h:66
geo::OfflineChan rb::CellHit::OfflineChan ( ) const
inlineinherited
bool rb::CellHit::operator< ( const CellHit other) const
inherited

Definition at line 54 of file CellHit.cxx.

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

Referenced by rb::CellHit::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
inherited

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(), rb::CellHit::Cell(), rb::CellHit::fCell, rb::CellHit::fPlane, rawdata::RawDigit::fTDC, rb::CellHit::Plane(), and rawdata::RawDigit::TDC().

Referenced by rb::CellHit::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
inlineinherited

Definition at line 42 of file CellHit.h.

References rb::CellHit::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
std::vector<int> cheat::SimHit::PID ( ) const
inline

Definition at line 39 of file SimHit.h.

References fPID.

Referenced by SetPID().

39 { return fPID; }
std::vector< int > fPID
vector of sim particle IDs
Definition: SimHit.h:68
unsigned short rb::CellHit::Plane ( ) const
inlineinherited

Definition at line 39 of file CellHit.h.

References rb::CellHit::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(), numue::NumuEAna::analyze(), mcchk::RockAna::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(), comi::NearlineAna::analyze(), remid::ReMIdDedxRock::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(), rb::CellHit::operator<(), rb::operator<<(), rb::CellHit::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(), lem::MakeLibrary::produce(), earms::ElasticArmsHS::produce(), zcl::SMMCluster::produce(), zcl::FMMTracker::produce(), vdt::VertexDT::produce(), zcl::FmmTriggerEvd::produce(), jmshower::NueSel::produce(), dif::DiFShowerFinder::produce(), rvp::RecVarPID::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 cheat::SimHit::Print ( ) const
void rawdata::RawDigit::SetADC ( uint32_t  i,
int16_t  iADC 
)
inherited
void rb::CellHit::SetCell ( unsigned short  cell)
inlineinherited
void rawdata::RawDigit::SetChannel ( uint32_t  iChan)
inlineinherited
void cheat::SimHit::SetCoorX ( double  coorx)
inline

Definition at line 47 of file SimHit.h.

References fCoorX.

Referenced by cheat::MCCheater::produce().

47 { fCoorX = coorx; }
double fCoorX
X coord of hit.
Definition: SimHit.h:62
void cheat::SimHit::SetCoorY ( double  coory)
inline

Definition at line 48 of file SimHit.h.

References fCoorY.

Referenced by cheat::MCCheater::produce().

48 { fCoorY = coory; }
double fCoorY
Y coord of hit.
Definition: SimHit.h:63
void cheat::SimHit::SetCoorZ ( double  coorz)
inline

Definition at line 49 of file SimHit.h.

References fCoorZ.

Referenced by cheat::MCCheater::produce().

49 { fCoorZ = coorz; }
double fCoorZ
Z coord of hit.
Definition: SimHit.h:64
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 cheat::SimHit::SetEnD ( std::vector< double >  EnD)
inline

Definition at line 54 of file SimHit.h.

References EnD(), and fEnD.

Referenced by cheat::MCCheater::produce().

54 { fEnD = EnD; }
std::vector< double > EnD() const
Definition: SimHit.h:40
std::vector< double > fEnD
vector of energy deposits
Definition: SimHit.h:69
void rb::CellHit::SetID ( int  id)
inlineinherited

Compares hits by plane, then cell, then time.

Definition at line 58 of file CellHit.h.

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

void rawdata::RawDigit::SetMC ( bool  isMC = true)
inlineinherited
void cheat::SimHit::SetNP ( unsigned short  np)
inline

Definition at line 51 of file SimHit.h.

References fNP.

Referenced by cheat::MCCheater::produce().

51 { fNP = np; }
unsigned short fNP
size of vectors
Definition: SimHit.h:66
void rb::CellHit::SetPE ( float  pe)
inlineinherited
void cheat::SimHit::SetPID ( std::vector< int PID)
inline

Definition at line 53 of file SimHit.h.

References fPID, and PID().

Referenced by cheat::MCCheater::produce().

53 { fPID = PID; }
std::vector< int > PID() const
Definition: SimHit.h:39
std::vector< int > fPID
vector of sim particle IDs
Definition: SimHit.h:68
void rb::CellHit::SetPlane ( unsigned short  plane)
inlineinherited
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 cheat::SimHit::SetTim ( std::vector< double >  Tim)
inline

Definition at line 55 of file SimHit.h.

References fTim, and Tim().

Referenced by cheat::MCCheater::produce().

55 { fTim = Tim; }
std::vector< double > Tim() const
Definition: SimHit.h:41
std::vector< double > fTim
vector of times
Definition: SimHit.h:70
void rb::CellHit::SetTNS ( float  tns,
bool  good 
)
inlineinherited
void cheat::SimHit::SetTotE ( double  tote)
inline

Definition at line 50 of file SimHit.h.

References fTotE.

Referenced by cheat::MCCheater::produce().

50 { fTotE = tote; }
double fTotE
Total Energy dep from all particles.
Definition: SimHit.h:65
void cheat::SimHit::SetTrID ( std::vector< int TrID)
inline

Definition at line 52 of file SimHit.h.

References fTrID, and TrID().

Referenced by cheat::MCCheater::produce().

52 { fTrID = TrID; }
std::vector< int > TrID() const
Definition: SimHit.h:38
std::vector< int > fTrID
vector of sim track IDs
Definition: SimHit.h:67
void rawdata::RawDigit::SetVersion ( uint8_t  v)
inlineinherited
void rb::CellHit::SetView ( geo::View_t  view)
inlineinherited
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<<(), rb::CellHit::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
std::vector<double> cheat::SimHit::Tim ( ) const
inline

Definition at line 41 of file SimHit.h.

References fTim.

Referenced by SetTim().

41 { return fTim; }
std::vector< double > fTim
vector of times
Definition: SimHit.h:70
float rb::CellHit::TNS ( ) const
inlineinherited

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 rb::CellHit::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(), rb::CellHit::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
double cheat::SimHit::TotE ( ) const
inline

Definition at line 36 of file SimHit.h.

References fTotE.

36 { return fTotE; }
double fTotE
Total Energy dep from all particles.
Definition: SimHit.h:65
std::vector<int> cheat::SimHit::TrID ( ) const
inline

Definition at line 38 of file SimHit.h.

References fTrID.

Referenced by SetTrID().

38 { return fTrID; }
std::vector< int > fTrID
vector of sim track IDs
Definition: SimHit.h:67
uint8_t rawdata::RawDigit::Version ( ) const
inlineinherited
geo::View_t rb::CellHit::View ( ) const
inlineinherited

Definition at line 41 of file CellHit.h.

References rb::CellHit::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(), presel::NuePresel::produce(), numusand::FillSandbox::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

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
protectedinherited
bool rb::CellHit::fCoarseTiming
protectedinherited

Was the timing fit bad?

Definition at line 75 of file CellHit.h.

Referenced by rb::CellHit::GoodTiming(), and rb::CellHit::SetTNS().

double cheat::SimHit::fCoorX

X coord of hit.

Definition at line 62 of file SimHit.h.

Referenced by CoorX(), and SetCoorX().

double cheat::SimHit::fCoorY

Y coord of hit.

Definition at line 63 of file SimHit.h.

Referenced by CoorY(), and SetCoorY().

double cheat::SimHit::fCoorZ

Z coord of hit.

Definition at line 64 of file SimHit.h.

Referenced by CoorZ(), and SetCoorZ().

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_().

std::vector<double> cheat::SimHit::fEnD

vector of energy deposits

Definition at line 69 of file SimHit.h.

Referenced by EnD(), and SetEnD().

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

ID for CellHit.

Definition at line 73 of file CellHit.h.

Referenced by rb::CellHit::ID(), and rb::CellHit::SetID().

bool rawdata::RawDigit::fLinkStatus
inherited

Definition at line 46 of file RawDigit.h.

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

unsigned short cheat::SimHit::fNP

size of vectors

Definition at line 66 of file SimHit.h.

Referenced by NP(), cheat::MCCheater::produce(), and SetNP().

float rb::CellHit::fPE
protectedinherited

after ADC–>PE gain applied

Definition at line 71 of file CellHit.h.

Referenced by rb::CellHit::PE(), and rb::CellHit::SetPE().

std::vector<int> cheat::SimHit::fPID

vector of sim particle IDs

Definition at line 68 of file SimHit.h.

Referenced by PID(), and SetPID().

unsigned short rb::CellHit::fPlane
protectedinherited
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 rb::CellHit::operator==(), rawdata::RawDigit::SetTDC(), and rb::standard_compare().

std::vector<double> cheat::SimHit::fTim

vector of times

Definition at line 70 of file SimHit.h.

Referenced by SetTim(), and Tim().

float rb::CellHit::fTNS
protectedinherited

time of hit in ns with channel differences removed

Definition at line 72 of file CellHit.h.

Referenced by rb::CellHit::operator<(), rb::CellHit::SetTNS(), and rb::CellHit::TNS().

double cheat::SimHit::fTotE

Total Energy dep from all particles.

Definition at line 65 of file SimHit.h.

Referenced by cheat::MCCheater::produce(), SetTotE(), and TotE().

std::vector<int> cheat::SimHit::fTrID

vector of sim track IDs

Definition at line 67 of file SimHit.h.

Referenced by cheat::MCCheater::produce(), SetTrID(), and TrID().

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
protectedinherited

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

Definition at line 69 of file CellHit.h.

Referenced by rb::CellHit::SetView(), and rb::CellHit::View().


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