FairRoot/PandaRoot
|
#include <PndSdsHit.h>
Public Member Functions | |
PndSdsHit () | |
PndSdsHit (Int_t detID, Int_t sensorID, TVector3 &pos, TVector3 &dpos, Int_t clindex, Double_t charge, Int_t NDigiHits, Int_t mcindex) | |
virtual | ~PndSdsHit () |
void | SetSensorID (Int_t sensorID) |
void | SetCharge (Double_t charge) |
void | SetNDigiHits (Int_t pixel) |
void | SetClusterIndex (Int_t datasource, Int_t id, Int_t fileId=-1, Int_t evtId=-1) |
void | SetBotIndex (Int_t id) |
void | SetCov (TMatrixD cov) |
Int_t | GetSensorID () const |
Double_t | GetCharge () const |
Int_t | GetNDigiHits () const |
TVector3 | GetPosition () const |
Int_t | GetClusterIndex () const |
Int_t | GetTopIndex () const |
Int_t | GetBotIndex () const |
Double_t | GetEloss () const |
TMatrixD | GetCov () const |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
virtual void | Print (const Option_t *opt=0) const |
Private Member Functions | |
ClassDef (PndSdsHit, 8) | |
Hit covariance Matrix. More... | |
Private Attributes | |
Int_t | fSensorID |
unique sensor ID More... | |
Double_t | fCharge |
Int_t | fNDigiHits |
deposited Charge More... | |
Int_t | fClusterIndex |
number of fired Digis for this hit, More... | |
Int_t | fBotIndex |
top/pixel cluster index More... | |
TMatrixD | fCov |
bottom side of strip clusters More... | |
Friends | |
class | boost::serialization::access |
std::ostream & | operator<< (std::ostream &out, const PndSdsHit &hit) |
PndSdsHit.h
A hit in a silicon sensor. In addition to the base class FairHit, it holds the number of digis & charge entry. There is also a bottom index for double sided strip sensors. All coordinates are in the LAB frame.
Definition at line 30 of file PndSdsHit.h.
PndSdsHit::PndSdsHit | ( | ) |
Default constructor (not for use)
Definition at line 16 of file PndSdsHit.cxx.
PndSdsHit::PndSdsHit | ( | Int_t | detID, |
Int_t | sensorID, | ||
TVector3 & | pos, | ||
TVector3 & | dpos, | ||
Int_t | clindex, | ||
Double_t | charge, | ||
Int_t | NDigiHits, | ||
Int_t | mcindex | ||
) |
Standard constructor with all paramneters
detID | Detector ID |
sensorID | Sensor ID |
pos | Position vector [cm] |
dpos | Position error vector [cm] |
index | Array index of ClusterCand |
charge | Charge measured in hit |
NDigiHits | Number of pixels fired for this event |
Definition at line 30 of file PndSdsHit.cxx.
|
virtual |
|
inline |
Definition at line 96 of file PndSdsHit.h.
References fBotIndex.
Referenced by anaclust(), PndMvdEventAnaTask::GetRecoHit(), and main().
|
inline |
Definition at line 91 of file PndSdsHit.h.
References fCharge.
Referenced by PndMixBackgroundEvents::Exec().
|
inline |
Definition at line 94 of file PndSdsHit.h.
References fClusterIndex.
Referenced by PndMvdIdealTrackFinderTask::Exec(), PndMixBackgroundEvents::Exec(), PndLmdIdealFitTask::Exec(), PndMvdAllDataEventAna::FillHitResolutionHistos(), PndStraightLineTrackFinderTask::FindHitsII(), PndStraightLineTrackFinderTask::FindHitsIII(), PndLmdPairFinderTask::getPixelHitFromSdsHit(), PndMvdEventAnaTask::GetRecoHit(), GetTopIndex(), PndLmdQATask::HitReco(), main(), PndLmdQATask::ResoAndPulls(), and PndCATracking::WriteMVDHits().
|
inline |
Definition at line 98 of file PndSdsHit.h.
References fCov.
Referenced by PndLmdPixelClusterTask::Exec(), PndLmdKalmanTask::Exec(), main(), PndSdsRecoHit::PndSdsRecoHit(), PndSdsRecoHit2::PndSdsRecoHit2(), PndSttMvdGemTracking::Prefit(), and PndCATracking::WriteMVDHits().
|
inline |
Definition at line 97 of file PndSdsHit.h.
References fCharge.
Referenced by anaclust(), TtCracowTask::Exec(), TtLinFitTask::Exec(), PndPidCorrelator::GetMvdInfo(), PndMvdEventAnaTask::PrintRecoHitInfo(), and TrackHits().
|
inline |
Definition at line 92 of file PndSdsHit.h.
References fNDigiHits.
Referenced by anaclust(), and PndMixBackgroundEvents::Exec().
|
inline |
Definition at line 93 of file PndSdsHit.h.
Referenced by PndMvdIdealTrackFinderTask::AddAndExpand(), PndMvdRiemannVertexFinderTask::CheckRecoTrack(), PndMvdRiemannTrackFinderTaskEff::CheckRecoTrack(), PndMvdGemTrackFinderOnHits::CreateTracks(), PndLmdPixelClusterTask::Exec(), PndLmdTrackFinderCATask::Exec(), PndLmdLineTask::Exec(), PndLmdLinFitTask::Exec(), PndMixBackgroundEvents::Exec(), PndLmdTrkQTask::Exec(), PndTrkTracking2::Exec(), PndLmdPairFinderTask::Exec(), PndXYResidualTask::Exec(), PndMvdAllDataEventAna::FillHitResolutionHistos(), PndLmdTrackFinderTask::FindHitsI(), PndStraightLineTrackFinderTask::FindHitsI(), PndLmdTrackFinderTask::FindHitsII(), PndStraightLineTrackFinderTask::FindHitsII(), PndLmdTrackFinderTask::FindHitsIII(), PndStraightLineTrackFinderTask::FindHitsIII(), hit_noise_studies(), main(), PndSdsRecoHit::PndSdsRecoHit(), PndSdsRecoHit2::PndSdsRecoHit2(), PndMvdEventAnaTask::PrintRecoHitInfo(), and PndCATracking::WriteMVDHits().
|
inline |
Definition at line 90 of file PndSdsHit.h.
References fSensorID.
Referenced by PndMvdDigiPixelDraw::Exec(), TtCracowTask::Exec(), TtAliTask::Exec(), TtLinFitTask::Exec(), PndLmdLinFitTask::Exec(), PndMixBackgroundEvents::Exec(), PndLmdTrkQTask::Exec(), PndLmdKalmanTask::Exec(), PndLmdPairFinderTask::Exec(), PndXYResidualTask::Exec(), PndPosCorrectorTask::Exec(), PndTSCorrectorTask::Exec(), PndTimeOffsetFinderTask::Exec(), PndMvdGemTrackFinderOnHits::FindTrackSegments(), PndMvdSttGemRiemannTrackFinder::GetLayerMvd(), PndPidCorrelator::GetMvdInfo(), hit_noise_studies(), PndTrackingQualityBarrelAnalysisNewLinks::IsBarrelMVD(), IsBarrelMVD(), main(), PndSdsRecoHit::PndSdsRecoHit(), PndSdsRecoHit2::PndSdsRecoHit2(), QAmacro_mvd_ana(), PndLmdTrackFinderCATask::SortHitsByDet(), PndLmdTrackFinderTask::SortHitsByDet(), PndStraightLineTrackFinderTask::SortHitsByDet(), PndLmdTrackFinderTask::SortHitsByDet2(), PndStraightLineTrackFinderTask::SortHitsByDet2(), PndLmdTrackFinderCATask::SortHitsByDetSimple(), PndLmdTrackFinderCATask::SortHitsByDetSimple2(), and PndCATracking::WriteMVDHits().
|
inline |
|
virtual |
Screen output
Definition at line 66 of file PndSdsHit.cxx.
Referenced by EventListing(), PndLmdHitMergeTask::Exec(), PndLmdPixelClusterTask::Exec(), PndLmdStripClusterTask::Exec(), PndLmdTrackFinderCATask::Exec(), PndSdsIdealClusterTask::Exec(), PndSdsStripClusterTask::Exec(), and PndMvdEventAnaTask::PrintRecoHitInfo().
|
inline |
overloaded accessors
Definition at line 116 of file PndSdsHit.h.
References fBotIndex, fCharge, fClusterIndex, fNDigiHits, and fSensorID.
|
inline |
Definition at line 86 of file PndSdsHit.h.
References fBotIndex.
Referenced by PndLmdStripClusterTask::Exec(), and PndSdsStripClusterTask::Exec().
|
inline |
|
inline |
Definition at line 82 of file PndSdsHit.h.
References fClusterIndex.
Referenced by PndLmdPixelClusterTask::Exec(), PndLmdPixelHitProducerFast::Exec(), PndSdsHitProducerIdeal::Exec(), PndSdsIdealClusterTask::Exec(), and PndSdsPixelClusterTask::Exec().
void PndSdsHit::SetCov | ( | TMatrixD | cov | ) |
Definition at line 70 of file PndSdsHit.cxx.
References fCov.
Referenced by PndLmdPixelClusterTask::Exec(), PndLmdStripClusterTask::Exec(), PndSdsStripClusterTask::Exec(), PndMQSdsChargeWeightedPixelMapping::GetCluster(), and PndSdsChargeWeightedPixelMapping::GetCluster().
|
inline |
Definition at line 81 of file PndSdsHit.h.
References fNDigiHits.
|
inline |
|
friend |
Definition at line 134 of file PndSdsHit.h.
|
friend |
Definition at line 32 of file PndSdsHit.h.
|
private |
top/pixel cluster index
Definition at line 143 of file PndSdsHit.h.
Referenced by GetBotIndex(), serialize(), and SetBotIndex().
|
private |
Definition at line 140 of file PndSdsHit.h.
Referenced by GetCharge(), GetEloss(), serialize(), and SetCharge().
|
private |
number of fired Digis for this hit,
Definition at line 142 of file PndSdsHit.h.
Referenced by GetClusterIndex(), serialize(), and SetClusterIndex().
|
private |
bottom side of strip clusters
Definition at line 144 of file PndSdsHit.h.
|
private |
deposited Charge
Definition at line 141 of file PndSdsHit.h.
Referenced by GetNDigiHits(), serialize(), and SetNDigiHits().
|
private |
unique sensor ID
Definition at line 139 of file PndSdsHit.h.
Referenced by GetSensorID(), serialize(), and SetSensorID().