#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 | areSiblingClusters () 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, bool areSiblingClusters=false) | |
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_ |
bool | areSiblingClusters_ |
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 70 of file HGCDoublet.cc.
References debug, Vector3DBase< T, FrameTag >::dot(), dot(), innerX(), innerY(), innerZ(), LogDebug, PV3DBase< T, PVType, FrameType >::mag2(), seedIndex_, and protons_cff::xi.
Referenced by checkCompatibilityAndTag().
|
inline |
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(), areSiblingClusters_, ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), debug, mps_fire::i, innerNeighbors_, dqmiolumiharvest::j, LogDebug, heppy_loop::loop, convertSQLiteXML::ok, outerX(), outerY(), outerZ(), seedIndex_, theDoubletId_, and protons_cff::xi.
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 129 of file HGCDoublet.cc.
References alreadyVisited_, mps_fire::i, innerNeighbors_, outerNeighbors_, seedIndex(), seedIndex_, and theDoubletId_.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 42 of file HGCDoublet.h.
References outerX_.
Referenced by checkCompatibilityAndTag().
|
inline |
Definition at line 46 of file HGCDoublet.h.
References outerY_.
Referenced by checkCompatibilityAndTag().
|
inline |
Definition at line 50 of file HGCDoublet.h.
References outerZ_.
Referenced by checkCompatibilityAndTag().
|
inline |
|
inline |
Definition at line 94 of file HGCDoublet.h.
References alreadyVisited_, and class-composition::visited.
|
inline |
|
inline |
|
private |
Definition at line 114 of file HGCDoublet.h.
Referenced by findNtuplets(), and setVisited().
|
private |
Definition at line 115 of file HGCDoublet.h.
Referenced by areSiblingClusters(), and checkCompatibilityAndTag().
|
private |
Definition at line 102 of file HGCDoublet.h.
Referenced by innerClusterId().
|
private |
Definition at line 99 of file HGCDoublet.h.
Referenced by checkCompatibilityAndTag(), findNtuplets(), and tagAsInnerNeighbor().
|
private |
Definition at line 105 of file HGCDoublet.h.
Referenced by innerR().
|
private |
Definition at line 107 of file HGCDoublet.h.
Referenced by innerX().
|
private |
Definition at line 109 of file HGCDoublet.h.
Referenced by innerY().
|
private |
Definition at line 111 of file HGCDoublet.h.
Referenced by innerZ().
|
private |
Definition at line 97 of file HGCDoublet.h.
|
private |
Definition at line 103 of file HGCDoublet.h.
Referenced by outerClusterId().
|
private |
Definition at line 98 of file HGCDoublet.h.
Referenced by findNtuplets(), and tagAsOuterNeighbor().
|
private |
Definition at line 106 of file HGCDoublet.h.
Referenced by outerR().
|
private |
Definition at line 108 of file HGCDoublet.h.
Referenced by outerX().
|
private |
Definition at line 110 of file HGCDoublet.h.
Referenced by outerY().
|
private |
Definition at line 112 of file HGCDoublet.h.
Referenced by outerZ().
|
private |
Definition at line 113 of file HGCDoublet.h.
Referenced by areAligned(), checkCompatibilityAndTag(), findNtuplets(), and seedIndex().
|
private |
Definition at line 101 of file HGCDoublet.h.
Referenced by checkCompatibilityAndTag(), and findNtuplets().