Algorithm for particle flow clustering. More...
#include <PFClusterAlgo.h>
Public Types | |
enum | Color { NONE =0, SEED, SPECIAL } |
typedef std::multimap< double, unsigned >::iterator | EH |
typedef std::map< unsigned, unsigned >::const_iterator | IDH |
enum | Parameter { THRESH, SEED_THRESH, PT_THRESH, SEED_PT_THRESH, CLEAN_THRESH, CLEAN_S4S1, DOUBLESPIKE_THRESH, DOUBLESPIKE_S6S2 } |
typedef edm::Handle < reco::PFRecHitCollection > | PFRecHitHandle |
enum | SeedState { UNKNOWN =-1, NO =0, YES =1, CLEAN =2 } |
Public Member Functions | |
std::auto_ptr< std::vector < reco::PFCluster > > & | clusters () |
unsigned | color (unsigned rhi) const |
void | doClustering (const reco::PFRecHitCollection &rechits) |
perform clustering More... | |
void | doClustering (const reco::PFRecHitCollection &rechits, const std::vector< bool > &mask) |
void | doClustering (const PFRecHitHandle &rechitsHandle) |
perform clustering in full framework More... | |
void | doClustering (const PFRecHitHandle &rechitsHandle, const std::vector< bool > &mask) |
void | enableDebugging (bool debug) |
set hits on which clustering will be performed More... | |
bool | isSeed (unsigned rhi) const |
bool | masked (unsigned rhi) const |
int | nNeighbours () const |
get number of neighbours for More... | |
double | parameter (Parameter paramtype, PFLayer::Layer layer, unsigned iCoeff=0, int iring0=0) const |
PFClusterAlgo () | |
constructor More... | |
int | posCalcNCrystal () const |
get number of crystals for position calculation (-1 all,5, or 9) More... | |
double | posCalcP1 () const |
get p1 for position calculation More... | |
const reco::PFRecHit & | rechit (unsigned i, const reco::PFRecHitCollection &rechits) |
More... | |
std::auto_ptr< std::vector < reco::PFRecHit > > & | rechitsCleaned () |
void | setCleanRBXandHPDs (bool cleanRBXandHPDs) |
Activate cleaning of HCAL RBX's and HPD's. More... | |
void | setHistos (TFile *file, TH2F *hB, TH2F *hE) |
set endcap clean threshold More... | |
void | setNNeighbours (int n) |
set number of neighbours for More... | |
void | setPosCalcNCrystal (int n) |
set number of crystals for position calculation (-1 all,5, or 9) More... | |
void | setPosCalcP1 (double p1) |
set p1 for position calculation More... | |
void | setS4S1CleanBarrel (const std::vector< double > &coeffs) |
void | setS4S1CleanEndcap (const std::vector< double > &coeffs) |
void | setS6S2DoubleSpikeBarrel (double cut) |
void | setS6S2DoubleSpikeEndcap (double cut) |
void | setShowerSigma (double sigma) |
set shower sigma for More... | |
void | setThreshBarrel (double thresh) |
setters -------------------------------------------------—— More... | |
void | setThreshCleanBarrel (double thresh) |
set barrel clean threshold More... | |
void | setThreshCleanEndcap (double thresh) |
set endcap clean threshold More... | |
void | setThreshDoubleSpikeBarrel (double thresh) |
set endcap thresholds for double spike cleaning More... | |
void | setThreshDoubleSpikeEndcap (double thresh) |
set endcap thresholds for double spike cleaning More... | |
void | setThreshEndcap (double thresh) |
set endcap threshold More... | |
void | setThreshPtBarrel (double thresh) |
void | setThreshPtEndcap (double thresh) |
void | setThreshPtSeedBarrel (double thresh) |
void | setThreshPtSeedEndcap (double thresh) |
void | setThreshSeedBarrel (double thresh) |
set barrel seed threshold More... | |
void | setThreshSeedEndcap (double thresh) |
set endcap seed threshold More... | |
void | setUseCornerCells (bool usecornercells) |
activate use of cells with a common corner to build topo-clusters More... | |
double | showerSigma () const |
get shower sigma More... | |
double | threshBarrel () const |
getters -------------------------------------------------—— More... | |
double | threshEndcap () const |
get endcap threshold More... | |
double | threshSeedBarrel () const |
get barrel seed threshold More... | |
double | threshSeedEndcap () const |
get endcap seed threshold More... | |
void | write () |
write histos More... | |
virtual | ~PFClusterAlgo () |
destructor More... | |
Private Member Functions | |
void | buildPFClusters (const std::vector< unsigned > &cluster, const reco::PFRecHitCollection &rechits) |
build PFClusters from a topocluster More... | |
void | buildTopoCluster (std::vector< unsigned > &cluster, unsigned rhi, const reco::PFRecHitCollection &rechits) |
build a topocluster (recursive) More... | |
void | buildTopoClusters (const reco::PFRecHitCollection &rechits) |
build topoclusters around seeds More... | |
void | calculateClusterPosition (reco::PFCluster &cluster, reco::PFCluster &clusterwodepthcor, bool depcor=true, int posCalcNCrystal=0) |
calculate position of a cluster More... | |
void | cleanRBXAndHPD (const reco::PFRecHitCollection &rechits) |
Clean HCAL readout box noise and HPD discharge. More... | |
reco::PFRecHitRef | createRecHitRef (const reco::PFRecHitCollection &rechits, unsigned rhi) |
std::pair< double, double > | dCrack (double phi, double eta) |
distance to a crack in the ECAL barrel in eta and phi direction More... | |
void | doClusteringWorker (const reco::PFRecHitCollection &rechits) |
perform clustering More... | |
void | findSeeds (const reco::PFRecHitCollection &rechits) |
look for seeds More... | |
void | paint (unsigned rhi, unsigned color=1) |
paint a rechit with a color. More... | |
Private Attributes | |
bool | cleanRBXandHPDs_ |
option to clean HCAL RBX's and HPD's More... | |
std::vector< unsigned > | color_ |
color, for all rechits More... | |
bool | debug_ |
debugging on/off More... | |
std::multimap< double, unsigned, std::greater< double > > | eRecHits_ |
indices to rechits, sorted by decreasing E (not E_T) More... | |
TFile * | file_ |
TH2F * | hBNeighbour |
TH2F * | hENeighbour |
std::set< unsigned > | idUsedRecHits_ |
ids of rechits used in seed search More... | |
std::vector< bool > | mask_ |
std::vector< double > | minS4S1Barrel_ |
std::vector< double > | minS4S1Endcap_ |
double | minS6S2DoubleSpikeBarrel_ |
double | minS6S2DoubleSpikeEndcap_ |
int | nNeighbours_ |
number of neighbours More... | |
std::auto_ptr< std::vector < reco::PFCluster > > | pfClusters_ |
all clusters More... | |
std::auto_ptr< std::vector < reco::PFRecHit > > | pfRecHitsCleaned_ |
particle flow rechits cleaned More... | |
int | posCalcNCrystal_ |
number of crystals for position calculation More... | |
double | posCalcP1_ |
parameter for position calculation More... | |
PFRecHitHandle | rechitsHandle_ |
std::vector< unsigned > | seeds_ |
vector of indices for seeds. More... | |
std::vector< SeedState > | seedStates_ |
seed state, for all rechits More... | |
double | showerSigma_ |
sigma of shower (cm) More... | |
double | threshBarrel_ |
barrel threshold More... | |
double | threshCleanBarrel_ |
Barrel cleaning threshold and S4/S1 smallest fractiom. More... | |
double | threshCleanEndcap_ |
Endcap cleaning threshold and S4/S1 smallest fractiom. More... | |
double | threshDoubleSpikeBarrel_ |
Barrel double-spike cleaning. More... | |
double | threshDoubleSpikeEndcap_ |
Endcap double-spike cleaning. More... | |
double | threshEndcap_ |
endcap threshold More... | |
double | threshPtBarrel_ |
double | threshPtEndcap_ |
double | threshPtSeedBarrel_ |
double | threshPtSeedEndcap_ |
double | threshSeedBarrel_ |
barrel seed threshold More... | |
double | threshSeedEndcap_ |
endcap seed threshold More... | |
std::vector< std::vector < unsigned > > | topoClusters_ |
sets of cells having one common side, and energy over threshold More... | |
bool | useCornerCells_ |
option to use cells with a common corner to build topo-clusters More... | |
std::vector< bool > | usedInTopo_ |
used in topo cluster? for all rechits More... | |
Static Private Attributes | |
static unsigned | prodNum_ = 1 |
product number More... | |
Friends | |
std::ostream & | operator<< (std::ostream &out, const PFClusterAlgo &algo) |
Algorithm for particle flow clustering.
This class takes as an input a map of pointers to PFRecHit's, and creates PFCluster's from these rechits. Clustering is implemented for ECAL, HCAL, and preshower.
Definition at line 31 of file PFClusterAlgo.h.
typedef std::multimap<double, unsigned >::iterator PFClusterAlgo::EH |
Definition at line 204 of file PFClusterAlgo.h.
typedef std::map<unsigned, unsigned >::const_iterator PFClusterAlgo::IDH |
Definition at line 203 of file PFClusterAlgo.h.
Definition at line 48 of file PFClusterAlgo.h.
enum PFClusterAlgo::Color |
Enumerator | |
---|---|
NONE | |
SEED | |
SPECIAL |
Definition at line 154 of file PFClusterAlgo.h.
Enumerator | |
---|---|
THRESH | |
SEED_THRESH | |
PT_THRESH | |
SEED_PT_THRESH | |
CLEAN_THRESH | |
CLEAN_S4S1 | |
DOUBLESPIKE_THRESH | |
DOUBLESPIKE_S6S2 |
Definition at line 177 of file PFClusterAlgo.h.
Enumerator | |
---|---|
UNKNOWN | |
NO | |
YES | |
CLEAN |
Definition at line 193 of file PFClusterAlgo.h.
PFClusterAlgo::PFClusterAlgo | ( | ) |
constructor
Definition at line 22 of file PFClusterAlgo.cc.
References file_, hBNeighbour, and hENeighbour.
|
inlinevirtual |
|
private |
build PFClusters from a topocluster
Definition at line 1002 of file PFClusterAlgo.cc.
References reco::PFCluster::addRecHitFraction(), calculateClusterPosition(), dtNoiseDBValidation_cfg::cerr, gather_cfg::cout, createRecHitRef(), debug_, delta, diffTreeTool::diff, relval_parameters_module::energy, create_public_lumi_plots::exp, cropTnPTrees::frac, i, isSeed(), reco::PFRecHit::layer(), max(), paint(), pfClusters_, posCalcNCrystal(), posCalcNCrystal_, reco::PFRecHit::position(), position, rechit(), seedStates_, showerSigma_, SPECIAL, tmp, v, and YES.
Referenced by doClusteringWorker().
|
private |
build a topocluster (recursive)
Definition at line 926 of file PFClusterAlgo.cc.
References abs, gather_cfg::cout, debug_, alignCSCRings::e, reco::PFRecHit::energy(), PFLayer::HCAL_BARREL2, i, reco::PFRecHit::layer(), masked(), reco::PFRecHit::neighbours4(), reco::PFRecHit::neighbours8(), parameter(), reco::PFRecHit::positionREP(), reco::PFRecHit::pt2(), PT_THRESH, rechit(), GOODCOLL_filter_cfg::thresh, THRESH, useCornerCells_, and usedInTopo_.
Referenced by buildTopoClusters().
|
private |
build topoclusters around seeds
Definition at line 882 of file PFClusterAlgo.cc.
References buildTopoCluster(), gather_cfg::cout, debug_, masked(), seeds_, topoClusters_, and usedInTopo_.
Referenced by doClusteringWorker().
|
private |
calculate position of a cluster
Definition at line 1294 of file PFClusterAlgo.cc.
References abs, dtNoiseDBValidation_cfg::cerr, gather_cfg::cout, reco::PFCluster::depthCorA_, reco::PFCluster::depthCorAp_, reco::PFCluster::depthCorB_, reco::PFCluster::depthCorBp_, reco::PFCluster::depthCorMode_, reco::PFRecHit::detId(), alignCSCRings::e, PFLayer::ECAL_BARREL, PFLayer::ECAL_ENDCAP, reco::PFRecHit::energy(), reco::CaloCluster::energy_, reco::PFRecHit::getAxisXYZ(), PFLayer::HCAL_BARREL1, PFLayer::HCAL_BARREL2, PFLayer::HCAL_ENDCAP, PFLayer::HF_EM, PFLayer::HF_HAD, reco::PFRecHit::isNeighbour4(), reco::PFRecHit::isNeighbour8(), isSeed(), reco::PFCluster::layer(), reco::PFRecHit::layer(), create_public_lumi_plots::log, max(), PFLayer::NONE, p1, posCalcNCrystal_, posCalcP1_, reco::PFRecHit::position(), reco::CaloCluster::position_, reco::PFCluster::posrep_, PFLayer::PS1, PFLayer::PS2, reco::PFCluster::rechits_, reco::PFCluster::setLayer(), mathSSE::sqrt(), threshBarrel_, threshEndcap_, x, detailsBasic3DVector::y, and detailsBasic3DVector::z.
Referenced by buildPFClusters().
|
private |
Clean HCAL readout box noise and HPD discharge.
Definition at line 290 of file PFClusterAlgo.cc.
References abs, reco::PFRecHit::detId(), reco::PFRecHit::energy(), eRecHits_, PFLayer::HCAL_BARREL1, PFLayer::HCAL_ENDCAP, HcalDetId::ieta(), recoMuon::in, HcalDetId::iphi(), reco::PFRecHit::layer(), Association::map, mask_, masked(), reco::PFRecHit::neighbours4(), errorMatrix2Lands_multiChannel::nN, pfRecHitsCleaned_, reco::PFRecHit::position(), rechit(), mathSSE::sqrt(), and dtDQMClient_cfg::threshold.
Referenced by doClusteringWorker().
|
inline |
Definition at line 167 of file PFClusterAlgo.h.
References pfClusters_.
Referenced by PFRootEventManager::clustering().
unsigned PFClusterAlgo::color | ( | unsigned | rhi | ) | const |
Definition at line 1687 of file PFClusterAlgo.cc.
References color_.
Referenced by DisplayManager::loadGRecHits(), and paint().
|
private |
create a reference to a rechit. in case rechitsHandle_.isValid(), this reference is permanent.
Definition at line 1722 of file PFClusterAlgo.cc.
References edm::HandleBase::isValid(), and rechitsHandle_.
Referenced by buildPFClusters().
|
private |
distance to a crack in the ECAL barrel in eta and phi direction
Definition at line 1772 of file PFClusterAlgo.cc.
References gather_cfg::cout, alignCSCRings::e, i, M_PI, min, and pi.
Referenced by findSeeds().
void PFClusterAlgo::doClustering | ( | const reco::PFRecHitCollection & | rechits | ) |
perform clustering
Definition at line 102 of file PFClusterAlgo.cc.
References edm::HandleBase::clear(), doClusteringWorker(), mask_, rechitsHandle_, and funct::true.
Referenced by PFRootEventManager::clustering().
void PFClusterAlgo::doClustering | ( | const reco::PFRecHitCollection & | rechits, |
const std::vector< bool > & | mask | ||
) |
Definition at line 116 of file PFClusterAlgo.cc.
References edm::HandleBase::clear(), doClusteringWorker(), mask_, rechitsHandle_, and funct::true.
void PFClusterAlgo::doClustering | ( | const PFRecHitHandle & | rechitsHandle | ) |
perform clustering in full framework
Definition at line 66 of file PFClusterAlgo.cc.
References doClusteringWorker(), mask_, HI_PhotonSkim_cff::rechits, rechitsHandle_, and funct::true.
void PFClusterAlgo::doClustering | ( | const PFRecHitHandle & | rechitsHandle, |
const std::vector< bool > & | mask | ||
) |
Definition at line 80 of file PFClusterAlgo.cc.
References doClusteringWorker(), mask_, HI_PhotonSkim_cff::rechits, rechitsHandle_, and funct::true.
|
private |
perform clustering
Definition at line 137 of file PFClusterAlgo.cc.
References buildPFClusters(), buildTopoClusters(), cleanRBXAndHPD(), cleanRBXandHPDs_, color_, relval_parameters_module::energy, eRecHits_, funct::false, findSeeds(), i, pfClusters_, pfRecHitsCleaned_, rechit(), seedStates_, topoClusters_, UNKNOWN, and usedInTopo_.
Referenced by doClustering().
|
inline |
set hits on which clustering will be performed
enable/disable debugging
Definition at line 45 of file PFClusterAlgo.h.
Referenced by PFRootEventManager::readOptions().
|
private |
look for seeds
Definition at line 571 of file PFClusterAlgo.cc.
References abs, dtNoiseDBValidation_cfg::cerr, CLEAN, CLEAN_S4S1, CLEAN_THRESH, gather_cfg::cout, dCrack(), debug_, DOUBLESPIKE_S6S2, DOUBLESPIKE_THRESH, PFLayer::ECAL_BARREL, PFLayer::ECAL_ENDCAP, reco::PFRecHit::energy(), reco::PFRecHit::energyUp(), eRecHits_, eta(), file_, hBNeighbour, PFLayer::HCAL_BARREL1, PFLayer::HCAL_BARREL2, PFLayer::HCAL_ENDCAP, hENeighbour, PFLayer::HF_EM, PFLayer::HF_HAD, recoMuon::in, reco::PFRecHit::layer(), mask_, masked(), min, reco::PFRecHit::neighbours4(), reco::PFRecHit::neighbours8(), nNeighbours_, NO, paint(), parameter(), pfRecHitsCleaned_, phi, reco::PFRecHit::position(), reco::PFRecHit::positionREP(), PFLayer::PS1, PFLayer::PS2, reco::PFRecHit::pt2(), rechit(), SEED, SEED_PT_THRESH, SEED_THRESH, seeds_, seedStates_, and YES.
Referenced by doClusteringWorker().
bool PFClusterAlgo::isSeed | ( | unsigned | rhi | ) | const |
Definition at line 1699 of file PFClusterAlgo.cc.
References seedStates_.
Referenced by buildPFClusters(), calculateClusterPosition(), and PFRootEventManager::printRecHits().
bool PFClusterAlgo::masked | ( | unsigned | rhi | ) | const |
Definition at line 1676 of file PFClusterAlgo.cc.
References mask_.
Referenced by buildTopoCluster(), buildTopoClusters(), cleanRBXAndHPD(), and findSeeds().
|
inline |
get number of neighbours for
Definition at line 130 of file PFClusterAlgo.h.
References nNeighbours_.
|
private |
paint a rechit with a color.
Definition at line 1710 of file PFClusterAlgo.cc.
References color(), and color_.
Referenced by buildPFClusters(), and findSeeds().
double PFClusterAlgo::parameter | ( | Parameter | paramtype, |
PFLayer::Layer | layer, | ||
unsigned | iCoeff = 0 , |
||
int | iring0 = 0 |
||
) | const |
Definition at line 197 of file PFClusterAlgo.cc.
References dtNoiseDBValidation_cfg::cerr, CLEAN_S4S1, CLEAN_THRESH, DOUBLESPIKE_S6S2, DOUBLESPIKE_THRESH, PFLayer::ECAL_BARREL, PFLayer::ECAL_ENDCAP, PFLayer::HCAL_BARREL1, PFLayer::HCAL_BARREL2, PFLayer::HCAL_ENDCAP, PFLayer::HF_EM, PFLayer::HF_HAD, minS4S1Barrel_, minS4S1Endcap_, minS6S2DoubleSpikeBarrel_, minS6S2DoubleSpikeEndcap_, PFLayer::PS1, PFLayer::PS2, PT_THRESH, SEED_PT_THRESH, SEED_THRESH, THRESH, threshBarrel_, threshCleanBarrel_, threshCleanEndcap_, threshDoubleSpikeBarrel_, threshDoubleSpikeEndcap_, threshEndcap_, threshPtBarrel_, threshPtEndcap_, threshPtSeedBarrel_, threshPtSeedEndcap_, threshSeedBarrel_, threshSeedEndcap_, and relativeConstraints::value.
Referenced by buildTopoCluster(), and findSeeds().
|
inline |
get number of crystals for position calculation (-1 all,5, or 9)
Definition at line 136 of file PFClusterAlgo.h.
References posCalcNCrystal_.
Referenced by buildPFClusters().
|
inline |
get p1 for position calculation
Definition at line 133 of file PFClusterAlgo.h.
References posCalcP1_.
const reco::PFRecHit & PFClusterAlgo::rechit | ( | unsigned | i, |
const reco::PFRecHitCollection & | rechits | ||
) |
Definition at line 1663 of file PFClusterAlgo.cc.
References i.
Referenced by buildPFClusters(), buildTopoCluster(), cleanRBXAndHPD(), doClusteringWorker(), and findSeeds().
|
inline |
Definition at line 171 of file PFClusterAlgo.h.
References pfRecHitsCleaned_.
|
inline |
Activate cleaning of HCAL RBX's and HPD's.
Definition at line 111 of file PFClusterAlgo.h.
References cleanRBXandHPDs_.
Referenced by PFRootEventManager::readOptions().
|
inline |
set endcap clean threshold
Definition at line 93 of file PFClusterAlgo.h.
References mergeVDriftHistosByStation::file, file_, hBNeighbour, and hENeighbour.
Referenced by PFRootEventManager::readOptions().
|
inline |
set number of neighbours for
Definition at line 96 of file PFClusterAlgo.h.
References n, and nNeighbours_.
Referenced by PFRootEventManager::readOptions().
|
inline |
set number of crystals for position calculation (-1 all,5, or 9)
Definition at line 102 of file PFClusterAlgo.h.
References n, and posCalcNCrystal_.
Referenced by PFRootEventManager::readOptions().
|
inline |
set p1 for position calculation
Definition at line 99 of file PFClusterAlgo.h.
References p1, and posCalcP1_.
Referenced by PFRootEventManager::readOptions().
|
inline |
Definition at line 70 of file PFClusterAlgo.h.
References minS4S1Barrel_.
Referenced by PFRootEventManager::readOptions().
|
inline |
Definition at line 86 of file PFClusterAlgo.h.
References minS4S1Endcap_.
Referenced by PFRootEventManager::readOptions().
|
inline |
Definition at line 74 of file PFClusterAlgo.h.
References GOODCOLL_filter_cfg::cut, and minS6S2DoubleSpikeBarrel_.
Referenced by PFRootEventManager::readOptions().
|
inline |
Definition at line 90 of file PFClusterAlgo.h.
References GOODCOLL_filter_cfg::cut, and minS6S2DoubleSpikeEndcap_.
Referenced by PFRootEventManager::readOptions().
|
inline |
set shower sigma for
Definition at line 105 of file PFClusterAlgo.h.
References showerSigma_.
Referenced by PFRootEventManager::readOptions().
|
inline |
setters -------------------------------------------------——
set barrel threshold
Definition at line 61 of file PFClusterAlgo.h.
References GOODCOLL_filter_cfg::thresh, and threshBarrel_.
Referenced by PFRootEventManager::readOptions().
|
inline |
set barrel clean threshold
Definition at line 69 of file PFClusterAlgo.h.
References GOODCOLL_filter_cfg::thresh, and threshCleanBarrel_.
Referenced by PFRootEventManager::readOptions().
|
inline |
set endcap clean threshold
Definition at line 85 of file PFClusterAlgo.h.
References GOODCOLL_filter_cfg::thresh, and threshCleanEndcap_.
Referenced by PFRootEventManager::readOptions().
|
inline |
set endcap thresholds for double spike cleaning
Definition at line 73 of file PFClusterAlgo.h.
References GOODCOLL_filter_cfg::thresh, and threshDoubleSpikeBarrel_.
Referenced by PFRootEventManager::readOptions().
|
inline |
set endcap thresholds for double spike cleaning
Definition at line 89 of file PFClusterAlgo.h.
References GOODCOLL_filter_cfg::thresh, and threshDoubleSpikeEndcap_.
Referenced by PFRootEventManager::readOptions().
|
inline |
set endcap threshold
Definition at line 77 of file PFClusterAlgo.h.
References GOODCOLL_filter_cfg::thresh, and threshEndcap_.
Referenced by PFRootEventManager::readOptions().
|
inline |
Definition at line 62 of file PFClusterAlgo.h.
References GOODCOLL_filter_cfg::thresh, and threshPtBarrel_.
Referenced by PFRootEventManager::readOptions().
|
inline |
Definition at line 78 of file PFClusterAlgo.h.
References GOODCOLL_filter_cfg::thresh, and threshPtEndcap_.
Referenced by PFRootEventManager::readOptions().
|
inline |
Definition at line 66 of file PFClusterAlgo.h.
References GOODCOLL_filter_cfg::thresh, and threshPtSeedBarrel_.
Referenced by PFRootEventManager::readOptions().
|
inline |
Definition at line 82 of file PFClusterAlgo.h.
References GOODCOLL_filter_cfg::thresh, and threshPtSeedEndcap_.
Referenced by PFRootEventManager::readOptions().
|
inline |
set barrel seed threshold
Definition at line 65 of file PFClusterAlgo.h.
References GOODCOLL_filter_cfg::thresh, and threshSeedBarrel_.
Referenced by PFRootEventManager::readOptions().
|
inline |
set endcap seed threshold
Definition at line 81 of file PFClusterAlgo.h.
References GOODCOLL_filter_cfg::thresh, and threshSeedEndcap_.
Referenced by PFRootEventManager::readOptions().
|
inline |
activate use of cells with a common corner to build topo-clusters
Definition at line 108 of file PFClusterAlgo.h.
References useCornerCells_.
Referenced by PFRootEventManager::readOptions().
|
inline |
|
inline |
getters -------------------------------------------------——
get barrel threshold
Definition at line 116 of file PFClusterAlgo.h.
References threshBarrel_.
Referenced by DisplayManager::createGRecHit().
|
inline |
get endcap threshold
Definition at line 123 of file PFClusterAlgo.h.
References threshEndcap_.
Referenced by DisplayManager::createGRecHit().
|
inline |
get barrel seed threshold
Definition at line 119 of file PFClusterAlgo.h.
References threshSeedBarrel_.
|
inline |
get endcap seed threshold
Definition at line 126 of file PFClusterAlgo.h.
References threshSeedEndcap_.
void PFClusterAlgo::write | ( | void | ) |
write histos
Definition at line 55 of file PFClusterAlgo.cc.
References gather_cfg::cout, and file_.
Referenced by PFRootEventManager::write().
|
friend |
|
private |
option to clean HCAL RBX's and HPD's
Definition at line 330 of file PFClusterAlgo.h.
Referenced by doClusteringWorker(), and setCleanRBXandHPDs().
|
private |
color, for all rechits
Definition at line 259 of file PFClusterAlgo.h.
Referenced by color(), doClusteringWorker(), and paint().
|
private |
debugging on/off
Definition at line 333 of file PFClusterAlgo.h.
Referenced by buildPFClusters(), buildTopoCluster(), buildTopoClusters(), enableDebugging(), and findSeeds().
|
private |
indices to rechits, sorted by decreasing E (not E_T)
Definition at line 252 of file PFClusterAlgo.h.
Referenced by cleanRBXAndHPD(), doClusteringWorker(), and findSeeds().
|
private |
Definition at line 342 of file PFClusterAlgo.h.
Referenced by findSeeds(), PFClusterAlgo(), setHistos(), and write().
|
private |
Definition at line 340 of file PFClusterAlgo.h.
Referenced by findSeeds(), PFClusterAlgo(), and setHistos().
|
private |
Definition at line 341 of file PFClusterAlgo.h.
Referenced by findSeeds(), PFClusterAlgo(), and setHistos().
|
private |
ids of rechits used in seed search
Definition at line 249 of file PFClusterAlgo.h.
|
private |
mask, for all rechits. only masked rechits will be clustered by default, all rechits are masked. see setMask function.
Definition at line 256 of file PFClusterAlgo.h.
Referenced by cleanRBXAndHPD(), doClustering(), findSeeds(), and masked().
|
private |
Definition at line 300 of file PFClusterAlgo.h.
Referenced by operator<<(), parameter(), and setS4S1CleanBarrel().
|
private |
Definition at line 308 of file PFClusterAlgo.h.
Referenced by operator<<(), parameter(), and setS4S1CleanEndcap().
|
private |
Definition at line 304 of file PFClusterAlgo.h.
Referenced by parameter(), and setS6S2DoubleSpikeBarrel().
|
private |
Definition at line 312 of file PFClusterAlgo.h.
Referenced by parameter(), and setS6S2DoubleSpikeEndcap().
|
private |
number of neighbours
Definition at line 315 of file PFClusterAlgo.h.
Referenced by findSeeds(), nNeighbours(), operator<<(), and setNNeighbours().
|
private |
all clusters
particle flow clusters
Definition at line 277 of file PFClusterAlgo.h.
Referenced by buildPFClusters(), clusters(), doClusteringWorker(), and operator<<().
|
private |
particle flow rechits cleaned
Definition at line 280 of file PFClusterAlgo.h.
Referenced by cleanRBXAndHPD(), doClusteringWorker(), findSeeds(), and rechitsCleaned().
|
private |
number of crystals for position calculation
Definition at line 318 of file PFClusterAlgo.h.
Referenced by buildPFClusters(), calculateClusterPosition(), operator<<(), posCalcNCrystal(), and setPosCalcNCrystal().
|
private |
parameter for position calculation
Definition at line 321 of file PFClusterAlgo.h.
Referenced by calculateClusterPosition(), operator<<(), posCalcP1(), and setPosCalcP1().
|
staticprivate |
product number
Definition at line 337 of file PFClusterAlgo.h.
|
private |
Definition at line 246 of file PFClusterAlgo.h.
Referenced by createRecHitRef(), and doClustering().
|
private |
vector of indices for seeds.
Definition at line 268 of file PFClusterAlgo.h.
Referenced by buildTopoClusters(), and findSeeds().
|
private |
seed state, for all rechits
Definition at line 262 of file PFClusterAlgo.h.
Referenced by buildPFClusters(), doClusteringWorker(), findSeeds(), and isSeed().
|
private |
sigma of shower (cm)
Definition at line 324 of file PFClusterAlgo.h.
Referenced by buildPFClusters(), operator<<(), setShowerSigma(), and showerSigma().
|
private |
barrel threshold
Definition at line 283 of file PFClusterAlgo.h.
Referenced by calculateClusterPosition(), operator<<(), parameter(), setThreshBarrel(), and threshBarrel().
|
private |
Barrel cleaning threshold and S4/S1 smallest fractiom.
Definition at line 299 of file PFClusterAlgo.h.
Referenced by operator<<(), parameter(), and setThreshCleanBarrel().
|
private |
Endcap cleaning threshold and S4/S1 smallest fractiom.
Definition at line 307 of file PFClusterAlgo.h.
Referenced by operator<<(), parameter(), and setThreshCleanEndcap().
|
private |
Barrel double-spike cleaning.
Definition at line 303 of file PFClusterAlgo.h.
Referenced by parameter(), and setThreshDoubleSpikeBarrel().
|
private |
Endcap double-spike cleaning.
Definition at line 311 of file PFClusterAlgo.h.
Referenced by parameter(), and setThreshDoubleSpikeEndcap().
|
private |
endcap threshold
Definition at line 291 of file PFClusterAlgo.h.
Referenced by calculateClusterPosition(), operator<<(), parameter(), setThreshEndcap(), and threshEndcap().
|
private |
Definition at line 284 of file PFClusterAlgo.h.
Referenced by operator<<(), parameter(), and setThreshPtBarrel().
|
private |
Definition at line 292 of file PFClusterAlgo.h.
Referenced by operator<<(), parameter(), and setThreshPtEndcap().
|
private |
Definition at line 288 of file PFClusterAlgo.h.
Referenced by operator<<(), parameter(), and setThreshPtSeedBarrel().
|
private |
Definition at line 296 of file PFClusterAlgo.h.
Referenced by operator<<(), parameter(), and setThreshPtSeedEndcap().
|
private |
barrel seed threshold
Definition at line 287 of file PFClusterAlgo.h.
Referenced by operator<<(), parameter(), setThreshSeedBarrel(), and threshSeedBarrel().
|
private |
endcap seed threshold
Definition at line 295 of file PFClusterAlgo.h.
Referenced by operator<<(), parameter(), setThreshSeedEndcap(), and threshSeedEndcap().
|
private |
sets of cells having one common side, and energy over threshold
Definition at line 271 of file PFClusterAlgo.h.
Referenced by buildTopoClusters(), and doClusteringWorker().
|
private |
option to use cells with a common corner to build topo-clusters
Definition at line 327 of file PFClusterAlgo.h.
Referenced by buildTopoCluster(), operator<<(), and setUseCornerCells().
|
private |
used in topo cluster? for all rechits
Definition at line 265 of file PFClusterAlgo.h.
Referenced by buildTopoCluster(), buildTopoClusters(), and doClusteringWorker().