#include <HGCDoublet.h>
Public Types | |
using | HGCntuplet = std::vector< unsigned int > |
Public Member Functions | |
int | areAligned (double xi, double yi, double zi, double xo, double yo, double zo, float minCosTheta, float minCosPointing, const GlobalVector &refDir, bool debug=false) const |
bool | checkCompatibilityAndTag (std::vector< HGCDoublet > &allDoublets, const std::vector< int > &innerDoublets, const GlobalVector &refDir, float minCosTheta, float minCosPointing=1., bool debug=false) |
void | findNtuplets (std::vector< HGCDoublet > &allDoublets, HGCntuplet &tmpNtuplet, int seedIndex, const bool outInDFS, const unsigned int outInHops, const unsigned int maxOutInHops, std::vector< std::pair< unsigned int, unsigned int > > &outInToVisit) |
HGCDoublet (const int innerClusterId, const int outerClusterId, const int doubletId, const std::vector< reco::CaloCluster > *layerClusters, const int seedIndex) | |
int | innerClusterId () const |
double | innerR () const |
double | innerX () const |
double | innerY () const |
double | innerZ () const |
int | outerClusterId () const |
double | outerR () const |
double | outerX () const |
double | outerY () const |
double | outerZ () const |
int | seedIndex () const |
void | setVisited (bool visited) |
void | tagAsInnerNeighbor (unsigned int otherDoublet) |
void | tagAsOuterNeighbor (unsigned int otherDoublet) |
Private Attributes | |
bool | alreadyVisited_ |
const int | innerClusterId_ |
std::vector< int > | innerNeighbors_ |
const double | innerR_ |
const double | innerX_ |
const double | innerY_ |
const double | innerZ_ |
const std::vector < reco::CaloCluster > * | layerClusters_ |
const int | outerClusterId_ |
std::vector< int > | outerNeighbors_ |
const double | outerR_ |
const double | outerX_ |
const double | outerY_ |
const double | outerZ_ |
int | seedIndex_ |
const int | theDoubletId_ |
Definition at line 14 of file HGCDoublet.h.
using HGCDoublet::HGCntuplet = std::vector<unsigned int> |
Definition at line 16 of file HGCDoublet.h.
|
inline |
Definition at line 18 of file HGCDoublet.h.
int HGCDoublet::areAligned | ( | double | xi, |
double | yi, | ||
double | zi, | ||
double | xo, | ||
double | yo, | ||
double | zo, | ||
float | minCosTheta, | ||
float | minCosPointing, | ||
const GlobalVector & | refDir, | ||
bool | debug = false |
||
) | const |
Definition at line 64 of file HGCDoublet.cc.
References Vector3DBase< T, FrameTag >::dot(), dot(), innerX(), innerY(), innerZ(), LogDebug, PV3DBase< T, PVType, FrameType >::mag2(), and seedIndex_.
Referenced by checkCompatibilityAndTag().
bool HGCDoublet::checkCompatibilityAndTag | ( | std::vector< HGCDoublet > & | allDoublets, |
const std::vector< int > & | innerDoublets, | ||
const GlobalVector & | refDir, | ||
float | minCosTheta, | ||
float | minCosPointing = 1. , |
||
bool | debug = false |
||
) |
Definition at line 3 of file HGCDoublet.cc.
References areAligned(), mps_fire::i, innerNeighbors_, dqmiolumiharvest::j, LogDebug, heppy_loop::loop, convertSQLiteXML::ok, outerX(), outerY(), outerZ(), seedIndex_, and theDoubletId_.
void HGCDoublet::findNtuplets | ( | std::vector< HGCDoublet > & | allDoublets, |
HGCntuplet & | tmpNtuplet, | ||
int | seedIndex, | ||
const bool | outInDFS, | ||
const unsigned int | outInHops, | ||
const unsigned int | maxOutInHops, | ||
std::vector< std::pair< unsigned int, unsigned int > > & | outInToVisit | ||
) |
Definition at line 123 of file HGCDoublet.cc.
References alreadyVisited_, mps_fire::i, innerNeighbors_, outerNeighbors_, seedIndex_, and theDoubletId_.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 40 of file HGCDoublet.h.
References outerX_.
Referenced by checkCompatibilityAndTag().
|
inline |
Definition at line 44 of file HGCDoublet.h.
References outerY_.
Referenced by checkCompatibilityAndTag().
|
inline |
Definition at line 48 of file HGCDoublet.h.
References outerZ_.
Referenced by checkCompatibilityAndTag().
|
inline |
|
inline |
Definition at line 90 of file HGCDoublet.h.
References alreadyVisited_, and class-composition::visited.
|
inline |
|
inline |
|
private |
Definition at line 110 of file HGCDoublet.h.
Referenced by findNtuplets(), and setVisited().
|
private |
Definition at line 98 of file HGCDoublet.h.
Referenced by innerClusterId().
|
private |
Definition at line 95 of file HGCDoublet.h.
Referenced by checkCompatibilityAndTag(), findNtuplets(), and tagAsInnerNeighbor().
|
private |
Definition at line 101 of file HGCDoublet.h.
Referenced by innerR().
|
private |
Definition at line 103 of file HGCDoublet.h.
Referenced by innerX().
|
private |
Definition at line 105 of file HGCDoublet.h.
Referenced by innerY().
|
private |
Definition at line 107 of file HGCDoublet.h.
Referenced by innerZ().
|
private |
Definition at line 93 of file HGCDoublet.h.
|
private |
Definition at line 99 of file HGCDoublet.h.
Referenced by outerClusterId().
|
private |
Definition at line 94 of file HGCDoublet.h.
Referenced by findNtuplets(), and tagAsOuterNeighbor().
|
private |
Definition at line 102 of file HGCDoublet.h.
|
private |
Definition at line 104 of file HGCDoublet.h.
Referenced by outerX().
|
private |
Definition at line 106 of file HGCDoublet.h.
Referenced by outerY().
|
private |
Definition at line 108 of file HGCDoublet.h.
|
private |
Definition at line 109 of file HGCDoublet.h.
Referenced by areAligned(), checkCompatibilityAndTag(), findNtuplets(), and seedIndex().
|
private |
Definition at line 97 of file HGCDoublet.h.
Referenced by checkCompatibilityAndTag(), and findNtuplets().