link between 2 elements More...
#include <PFBlockLink.h>
Public Types | |
enum | Type { NONE = 0, ECALandECAL = 0x8, TRACKandECAL = 0x9, TRACKandHCAL = 0x11, ECALandHCAL = 0x18, PS1andECAL = 0xA, PS2andECAL = 0xC, TRACKandPS1 = 0x3, TRACKandPS2 = 0x5, PS1andPS2 = 0x6, TRACKandTRACK = 0x1, ECALandGSF = 0x28, HCALandGSF = 0x30, TRACKandGSF = 0x21, GSFandBREM = 0x60, GSFandGSF = 0x20, ECALandBREM = 0x48, HCALandBREM = 0x50, PS1andGSF = 0x22, PS2andGSF = 0x24, PS1andBREM = 0x42, PS2andBREM = 0x44, HFEMandHFHAD = 0x180, SCandECAL = 0x208 } |
possible types. WARNING: have a look at PFBlockElement More... | |
Public Member Functions | |
double | dist () const |
unsigned | element1 () const |
unsigned | element2 () const |
unsigned | neighbour (unsigned elem) const |
PFBlockLink (Type type, reco::PFBlock::LinkTest test, double dist, unsigned elem1, unsigned elem2) | |
standard constructor | |
PFBlockLink () | |
reco::PFBlock::LinkTest | test () const |
Type | type () const |
Private Attributes | |
double | dist_ |
distance of the link | |
unsigned | element1_ |
element 1 | |
unsigned | element2_ |
element 2 | |
reco::PFBlock::LinkTest | test_ |
type of test | |
Type | type_ |
type of the link | |
Friends | |
std::ostream & | operator<< (std::ostream &out, const PFBlockLink &l) |
print the link |
enum PFBlockLink::Type |
possible types. WARNING: have a look at PFBlockElement
Definition at line 16 of file PFBlockLink.h.
{ NONE=0, ECALandECAL=0x8, TRACKandECAL=0x9, TRACKandHCAL=0x11, ECALandHCAL=0x18, PS1andECAL=0xA, PS2andECAL = 0xC, TRACKandPS1 = 0x3, TRACKandPS2 = 0x5, PS1andPS2 = 0x6, TRACKandTRACK = 0x1, ECALandGSF = 0x28, HCALandGSF = 0x30, TRACKandGSF = 0x21, GSFandBREM =0x60, GSFandGSF = 0x20, ECALandBREM = 0x48, HCALandBREM = 0x50, PS1andGSF = 0x22, PS2andGSF = 0x24, PS1andBREM = 0x42, PS2andBREM = 0x44, HFEMandHFHAD = 0x180, SCandECAL = 0x208 };
PFBlockLink::PFBlockLink | ( | ) | [inline] |
default constructor
Definition at line 45 of file PFBlockLink.h.
PFBlockLink::PFBlockLink | ( | Type | type, |
reco::PFBlock::LinkTest | test, | ||
double | dist, | ||
unsigned | elem1, | ||
unsigned | elem2 | ||
) | [inline] |
double PFBlockLink::dist | ( | ) | const [inline] |
unsigned PFBlockLink::element1 | ( | ) | const [inline] |
Definition at line 84 of file PFBlockLink.h.
References element1_.
{return element1_;}
unsigned PFBlockLink::element2 | ( | ) | const [inline] |
Definition at line 87 of file PFBlockLink.h.
References element2_.
{return element2_;}
unsigned PFBlockLink::neighbour | ( | unsigned | elem | ) | const [inline] |
reco::PFBlock::LinkTest PFBlockLink::test | ( | void | ) | const [inline] |
Definition at line 78 of file PFBlockLink.h.
References test_.
{return test_;}
Type PFBlockLink::type | ( | ) | const [inline] |
std::ostream& operator<< | ( | std::ostream & | out, |
const PFBlockLink & | l | ||
) | [friend] |
print the link
Definition at line 7 of file PFBlockLink.cc.
double PFBlockLink::dist_ [private] |
distance of the link
Definition at line 101 of file PFBlockLink.h.
Referenced by dist(), and operator<<().
unsigned PFBlockLink::element1_ [private] |
element 1
Definition at line 104 of file PFBlockLink.h.
Referenced by element1(), neighbour(), and operator<<().
unsigned PFBlockLink::element2_ [private] |
element 2
Definition at line 107 of file PFBlockLink.h.
Referenced by element2(), neighbour(), and operator<<().
reco::PFBlock::LinkTest PFBlockLink::test_ [private] |
Type PFBlockLink::type_ [private] |
type of the link
Definition at line 95 of file PFBlockLink.h.
Referenced by operator<<(), and type().