#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 ), fType2ID( -1 ), useflag( 1 ) {
19 fType3ID.clear();
20 fType4ID.clear();
21 fAllNeiborID.clear();
22 fHitsOfWire.clear();
23 fWire = NULL;
24 };
◆ ~MdcHitGroup()
| MdcHitGroup::~MdcHitGroup |
( |
| ) |
|
|
inline |
◆ AddHit()
| void MdcHitGroup::AddHit |
( |
MdcDigi * | aHit | ) |
|
|
inline |
Definition at line 52 of file MdcHitGroup.h.
52{ fHitsOfWire.push_back( aHit ); }
◆ AddType1()
| void MdcHitGroup::AddType1 |
( |
int | wireID | ) |
|
|
inline |
Definition at line 53 of file MdcHitGroup.h.
53 {
54 fType1ID = wireID;
55 fAllNeiborID.push_back( wireID );
56 }
◆ AddType2()
| void MdcHitGroup::AddType2 |
( |
int | wireID | ) |
|
|
inline |
Definition at line 57 of file MdcHitGroup.h.
57 {
58 fType2ID = wireID;
59 fAllNeiborID.push_back( wireID );
60 }
◆ AddType3()
| void MdcHitGroup::AddType3 |
( |
int | wireID | ) |
|
|
inline |
Definition at line 61 of file MdcHitGroup.h.
61 {
62 fType3ID.push_back( wireID );
63 fAllNeiborID.push_back( wireID );
64 }
◆ AddType4()
| void MdcHitGroup::AddType4 |
( |
int | wireID | ) |
|
|
inline |
Definition at line 65 of file MdcHitGroup.h.
65 {
66 fType4ID.push_back( wireID );
67 fAllNeiborID.push_back( wireID );
68 }
◆ GetHit()
| vector< MdcDigi * > MdcHitGroup::GetHit |
( |
| ) |
|
|
inline |
◆ GetNeiborHits()
| vector< int > MdcHitGroup::GetNeiborHits |
( |
| ) |
|
|
inline |
◆ GetNoNeiborHits()
| int MdcHitGroup::GetNoNeiborHits |
( |
| ) |
|
|
inline |
Definition at line 45 of file MdcHitGroup.h.
45 {
46 return fType3ID.size() + fType4ID.size() + ( fType1ID < 0 ? 0 : 1 ) +
47 ( fType2ID < 0 ? 0 : 1 );
48 }
◆ 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 32 of file MdcHitGroup.h.
32 {
33 if ( fHitsOfWire.size() == 0 ) { return false; }
34 else { return true; }
35 }
◆ SetUsedFlag()
| void MdcHitGroup::SetUsedFlag |
( |
| ) |
|
|
inline |
◆ SetWire()
| void MdcHitGroup::SetWire |
( |
const MdcGeoWire * | aWire | ) |
|
|
inline |
◆ Used()
| bool MdcHitGroup::Used |
( |
| ) |
|
|
inline |
Definition at line 36 of file MdcHitGroup.h.
36 {
37 if ( fHitsOfWire.size() == 0 || useflag == 0 ) { return true; }
38 else { return false; }
39 }
The documentation for this class was generated from the following file: