#include <MdcHitGroup.h>
Definition at line 14 of file MdcHitGroup.h.
◆ MdcHitGroup()
MdcHitGroup::MdcHitGroup |
( |
| ) |
|
|
inline |
Definition at line 18 of file MdcHitGroup.h.
18 :fType1ID(-1),
19 fType2ID(-1),
20 useflag(1)
21 {
22 fType3ID.clear();
23 fType4ID.clear();
24 fAllNeiborID.clear();
25 fHitsOfWire.clear();
27 };
◆ ~MdcHitGroup()
MdcHitGroup::~MdcHitGroup |
( |
| ) |
|
|
inline |
◆ AddHit()
void MdcHitGroup::AddHit |
( |
MdcDigi * | aHit | ) |
|
|
inline |
Definition at line 54 of file MdcHitGroup.h.
54{fHitsOfWire.push_back(aHit);}
◆ AddType1()
void MdcHitGroup::AddType1 |
( |
int | wireID | ) |
|
|
inline |
Definition at line 55 of file MdcHitGroup.h.
55 {
56 fType1ID=wireID;
57 fAllNeiborID.push_back(wireID);
58 }
◆ AddType2()
void MdcHitGroup::AddType2 |
( |
int | wireID | ) |
|
|
inline |
Definition at line 59 of file MdcHitGroup.h.
59 {
60 fType2ID=wireID;
61 fAllNeiborID.push_back(wireID);
62 }
◆ AddType3()
void MdcHitGroup::AddType3 |
( |
int | wireID | ) |
|
|
inline |
Definition at line 63 of file MdcHitGroup.h.
63 {
64 fType3ID.push_back(wireID);
65 fAllNeiborID.push_back(wireID);
66 }
◆ AddType4()
void MdcHitGroup::AddType4 |
( |
int | wireID | ) |
|
|
inline |
Definition at line 67 of file MdcHitGroup.h.
67 {
68 fType4ID.push_back(wireID);
69 fAllNeiborID.push_back(wireID);
70 }
◆ GetHit()
vector< MdcDigi * > MdcHitGroup::GetHit |
( |
| ) |
|
|
inline |
◆ GetNeiborHits()
vector< int > MdcHitGroup::GetNeiborHits |
( |
| ) |
|
|
inline |
◆ GetNoNeiborHits()
int MdcHitGroup::GetNoNeiborHits |
( |
| ) |
|
|
inline |
Definition at line 48 of file MdcHitGroup.h.
48 {
49 return fType3ID.size()+fType4ID.size()+(fType1ID<0?0:1)+(fType2ID<0?0:1);
50 }
◆ GetType1()
int MdcHitGroup::GetType1 |
( |
| ) |
|
|
inline |
◆ GetType2()
int MdcHitGroup::GetType2 |
( |
| ) |
|
|
inline |
◆ GetType3()
vector< int > MdcHitGroup::GetType3 |
( |
| ) |
|
|
inline |
◆ GetType4()
vector< int > MdcHitGroup::GetType4 |
( |
| ) |
|
|
inline |
◆ GetWire()
◆ HasHit()
bool MdcHitGroup::HasHit |
( |
| ) |
|
|
inline |
Definition at line 35 of file MdcHitGroup.h.
35 {
36 if(fHitsOfWire.size()==0) {return false;}
37 else {return true;}
38 }
◆ SetUsedFlag()
void MdcHitGroup::SetUsedFlag |
( |
| ) |
|
|
inline |
◆ SetWire()
void MdcHitGroup::SetWire |
( |
const MdcGeoWire * | aWire | ) |
|
|
inline |
◆ Used()
bool MdcHitGroup::Used |
( |
| ) |
|
|
inline |
Definition at line 39 of file MdcHitGroup.h.
39 {
40 if(fHitsOfWire.size()==0||useflag==0) {return true;}
41 else {return false;}
42 }
The documentation for this class was generated from the following file: