#include <AlignmentClusterFlag.h>
Public Member Functions | |
AlignmentClusterFlag () | |
AlignmentClusterFlag (const DetId &id) | |
AlignmentClusterFlag (const AlignmentClusterFlag &ahf) | |
const DetId & | detId () const |
char | hitFlag () const |
bool | isOverlap () const |
bool | isTaken () const |
void | SetDetId (const DetId &newdetid) |
void | SetOverlapFlag () |
void | SetTakenFlag () |
~AlignmentClusterFlag () | |
Private Attributes | |
DetId | detId_ |
char | hitFlag_ |
Class that defines a flag for each cluster used by the alignment The flag contains informations used to categorise and (eventually) decide whether to use the hit for the final alignment. This informations are bit-packed into a 8-bit word.
Original author: A. Bonato
Definition at line 16 of file AlignmentClusterFlag.h.
AlignmentClusterFlag::AlignmentClusterFlag | ( | ) |
Definition at line 4 of file AlignmentClusterFlag.cc.
AlignmentClusterFlag::AlignmentClusterFlag | ( | const DetId & | id | ) |
Definition at line 9 of file AlignmentClusterFlag.cc.
AlignmentClusterFlag::AlignmentClusterFlag | ( | const AlignmentClusterFlag & | ahf | ) |
Definition at line 14 of file AlignmentClusterFlag.cc.
AlignmentClusterFlag::~AlignmentClusterFlag | ( | ) |
Definition at line 19 of file AlignmentClusterFlag.cc.
{
//
}
const DetId& AlignmentClusterFlag::detId | ( | ) | const [inline] |
char AlignmentClusterFlag::hitFlag | ( | ) | const [inline] |
bool AlignmentClusterFlag::isOverlap | ( | ) | const |
Definition at line 30 of file AlignmentClusterFlag.cc.
References hitFlag_.
Referenced by AlignmentStats::analyze().
{ return ((hitFlag_ & (1<<1)) != 0); }
bool AlignmentClusterFlag::isTaken | ( | ) | const |
Definition at line 24 of file AlignmentClusterFlag.cc.
References hitFlag_.
Referenced by AlignmentTrackSelector::checkPrescaledHits(), and HIPAlignmentAlgorithm::run().
{ return ((hitFlag_ & (1<<0)) != 0); }
void AlignmentClusterFlag::SetDetId | ( | const DetId & | newdetid | ) |
void AlignmentClusterFlag::SetOverlapFlag | ( | ) |
Definition at line 40 of file AlignmentClusterFlag.cc.
References hitFlag_.
Referenced by TkAlCaOverlapTagger::produce().
{ hitFlag_ |= (1<<1); }
void AlignmentClusterFlag::SetTakenFlag | ( | ) |
DetId AlignmentClusterFlag::detId_ [private] |
Definition at line 34 of file AlignmentClusterFlag.h.
Referenced by detId(), and SetDetId().
char AlignmentClusterFlag::hitFlag_ [private] |
Definition at line 35 of file AlignmentClusterFlag.h.
Referenced by hitFlag(), isOverlap(), isTaken(), SetOverlapFlag(), and SetTakenFlag().