FairRoot/PandaRoot
|
Find Clusters on a strip sensor in two dimensions. More...
#include <PndSdsStripAdvClusterFinder.h>
Public Member Functions | |
PndSdsStripAdvClusterFinder (Int_t DigiType) | |
PndSdsStripAdvClusterFinder (Int_t DigiType, Int_t NrofmissedChannels, Int_t NrofmissedTimestamps) | |
~PndSdsStripAdvClusterFinder () | |
std::vector< PndSdsClusterStrip * > | SearchClusters () |
void | Reinit () |
void | AddDigi (Int_t sensorID, SensorSide side, Int_t timestamp, Int_t strip, Int_t iDigi) |
void | ClearDigis () |
std::vector< PndSdsClusterStrip * > | GetClusters () const |
PndSdsClusterStrip * | GetCluster (Int_t i) |
PndSdsClusterStrip * | GetTopCluster (Int_t i) |
PndSdsClusterStrip * | GetBotCluster (Int_t i) |
std::vector< Int_t > | GetTopClusterIDs () const |
std::vector< Int_t > | GetBotClusterIDs () const |
std::vector< Int_t > | GetLeftDigiIDs () const |
void | SetDigiType (Int_t digiType) |
Protected Member Functions | |
void | AddCluster (const std::vector< Int_t > &onecluster, SensorSide side) |
ClassDef (PndSdsStripClusterer, 3) | |
Protected Attributes | |
Fullmap | fSortedDigis |
std::vector< Int_t > | fTopclusters |
std::vector< Int_t > | fBotclusters |
std::vector< Int_t > | fLeftDigis |
std::vector< PndSdsClusterStrip * > | fClusters |
Int_t | fDigiType |
Private Member Functions | |
void | ClusterIterator (Int_t newCh, Int_t newFrameID, std::map< Int_t, std::map< Int_t, std::vector< Int_t > > > &hitmap, std::vector< Int_t > &onecluster) |
ClassDef (PndSdsStripAdvClusterFinder, 1) | |
Private Attributes | |
Int_t | fNmCh |
maximum of missing channels More... | |
Int_t | fNmTS |
maximum of missing time More... | |
Find Clusters on a strip sensor in two dimensions.
PndSdsStripAdvClusterFinder.h
Calculator class to find clusters in channel dimension and time dimension for the MVD strip sensors
Search for clusters in channel and trigger timestamp dimension. It is possible to set a whole e.g. defect strip.
Definition at line 38 of file PndSdsStripAdvClusterFinder.h.
PndSdsStripAdvClusterFinder::PndSdsStripAdvClusterFinder | ( | Int_t | DigiType | ) |
default constructor
Definition at line 15 of file PndSdsStripAdvClusterFinder.cxx.
PndSdsStripAdvClusterFinder::PndSdsStripAdvClusterFinder | ( | Int_t | DigiType, |
Int_t | NrofmissedChannels, | ||
Int_t | NrofmissedTimestamps | ||
) |
main constructor Set number of maximum missing channels or time to get the cluster
NrofmissedChannels | maximum of missing channels |
NrofmissedTimestamps | maximum of missing time |
Definition at line 21 of file PndSdsStripAdvClusterFinder.cxx.
PndSdsStripAdvClusterFinder::~PndSdsStripAdvClusterFinder | ( | ) |
|
protectedinherited |
Definition at line 86 of file PndSdsStripClusterer.cxx.
References PndSdsStripClusterer::fBotclusters, PndSdsStripClusterer::fClusters, PndSdsStripClusterer::fDigiType, PndSdsStripClusterer::fTopclusters, kBOTTOM, kTOP, and PndSdsClusterStrip::SetSensorSide().
Referenced by PndSdsSimpleStripClusterFinder::SearchClusters(), and SearchClusters().
|
inherited |
Definition at line 45 of file PndSdsStripClusterer.cxx.
References PndSdsStripClusterer::fSortedDigis.
Referenced by PndSdsStripClusterTask::FillClusterFinders().
|
protectedinherited |
|
private |
|
inlineinherited |
Definition at line 39 of file PndSdsStripClusterer.h.
References PndSdsStripClusterer::fSortedDigis.
|
private |
iterates through the hitlist and find clusters. It will stop when reaching the end of hitlist or the maximum of channels or time is reached so that this cluster has no more entries
newCh | the current channel to search for |
newFrameID | the current time to search for |
hitmap | the hitlist where the first element in the vector is negative for already identified hits the second member of the vector knows the hitID |
onecluster | list of hitIDs belonging to this cluster |
Definition at line 84 of file PndSdsStripAdvClusterFinder.cxx.
Referenced by SearchClusters().
|
inherited |
Definition at line 74 of file PndSdsStripClusterer.cxx.
References PndSdsStripClusterer::fBotclusters, PndSdsStripClusterer::GetCluster(), and i.
|
inlineinherited |
Definition at line 47 of file PndSdsStripClusterer.h.
References PndSdsStripClusterer::fBotclusters.
Referenced by PndLmdStripClusterTask::Exec(), and PndSdsStripClusterTask::Exec().
|
inherited |
Definition at line 54 of file PndSdsStripClusterer.cxx.
References PndSdsStripClusterer::fClusters, and i.
Referenced by PndSdsStripClusterer::GetBotCluster(), and PndSdsStripClusterer::GetTopCluster().
|
inlineinherited |
Definition at line 42 of file PndSdsStripClusterer.h.
References PndSdsStripClusterer::fClusters.
|
inlineinherited |
Definition at line 48 of file PndSdsStripClusterer.h.
References PndSdsStripClusterer::fLeftDigis.
Referenced by PndLmdStripClusterTask::Exec(), and PndSdsStripClusterTask::Exec().
|
inherited |
Definition at line 64 of file PndSdsStripClusterer.cxx.
References PndSdsStripClusterer::fTopclusters, PndSdsStripClusterer::GetCluster(), and i.
|
inlineinherited |
Definition at line 46 of file PndSdsStripClusterer.h.
References PndSdsStripClusterer::fTopclusters.
Referenced by PndLmdStripClusterTask::Exec(), and PndSdsStripClusterTask::Exec().
|
inherited |
Definition at line 36 of file PndSdsStripClusterer.cxx.
References PndSdsStripClusterer::fBotclusters, PndSdsStripClusterer::fClusters, PndSdsStripClusterer::fLeftDigis, PndSdsStripClusterer::fSortedDigis, and PndSdsStripClusterer::fTopclusters.
|
virtual |
calculate clusters in the two dimensional way
--— search for clusters --— Take neighbouring fired strips.
Implements PndSdsStripClusterer.
Definition at line 32 of file PndSdsStripAdvClusterFinder.cxx.
References PndSdsStripClusterer::AddCluster(), ClusterIterator(), PndSdsStripClusterer::fBotclusters, PndSdsStripClusterer::fClusters, PndSdsStripClusterer::fSortedDigis, PndSdsStripClusterer::fTopclusters, map, and ts.
|
inlineinherited |
Definition at line 50 of file PndSdsStripClusterer.h.
References PndSdsStripClusterer::fDigiType.
Referenced by PndSdsStripClusterer::PndSdsStripClusterer().
|
protectedinherited |
Definition at line 57 of file PndSdsStripClusterer.h.
Referenced by PndSdsStripClusterer::AddCluster(), PndSdsStripClusterer::GetBotCluster(), PndSdsStripClusterer::GetBotClusterIDs(), PndSdsStripClusterer::Reinit(), PndSdsSimpleStripClusterFinder::SearchClusters(), and SearchClusters().
|
protectedinherited |
Definition at line 59 of file PndSdsStripClusterer.h.
Referenced by PndSdsStripClusterer::AddCluster(), PndSdsStripClusterer::GetCluster(), PndSdsStripClusterer::GetClusters(), PndSdsStripClusterer::Reinit(), PndSdsSimpleStripClusterFinder::SearchClusters(), and SearchClusters().
|
protectedinherited |
Definition at line 61 of file PndSdsStripClusterer.h.
Referenced by PndSdsStripClusterer::AddCluster(), and PndSdsStripClusterer::SetDigiType().
|
protectedinherited |
Definition at line 58 of file PndSdsStripClusterer.h.
Referenced by PndSdsStripClusterer::GetLeftDigiIDs(), PndSdsStripClusterer::Reinit(), and PndSdsSimpleStripClusterFinder::SearchClusters().
|
private |
maximum of missing channels
Definition at line 77 of file PndSdsStripAdvClusterFinder.h.
Referenced by ClusterIterator().
|
private |
maximum of missing time
Definition at line 80 of file PndSdsStripAdvClusterFinder.h.
Referenced by ClusterIterator().
|
protectedinherited |
Definition at line 55 of file PndSdsStripClusterer.h.
Referenced by PndSdsStripClusterer::AddDigi(), PndSdsStripClusterer::ClearDigis(), PndSdsStripClusterer::Reinit(), PndSdsSimpleStripClusterFinder::SearchClusters(), and SearchClusters().
|
protectedinherited |
Definition at line 56 of file PndSdsStripClusterer.h.
Referenced by PndSdsStripClusterer::AddCluster(), PndSdsStripClusterer::GetTopCluster(), PndSdsStripClusterer::GetTopClusterIDs(), PndSdsStripClusterer::Reinit(), PndSdsSimpleStripClusterFinder::SearchClusters(), and SearchClusters().