#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< edm::View < reco::PFCluster > > | PFClusterHandle |
typedef edm::Handle < reco::PFRecHitCollection > | PFRecHitHandle |
typedef edm::StrictWeakOrdering < reco::PFRecHit > | PFStrictWeakOrdering |
enum | PositionCalcType { EGPositionCalc, EGPositionFormula, PFPositionCalc, kNotDefined } |
enum | SeedState { UNKNOWN =-1, NO =0, YES =1, CLEAN =2 } |
typedef edm::SortedCollection < reco::PFRecHit > | SortedPFRecHitCollection |
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 | setEBGeom (const CaloSubdetectorGeometry *esh) |
void | setEEGeom (const CaloSubdetectorGeometry *esh) |
void | setEGammaPosCalc (const edm::ParameterSet &conf) |
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 | setPosCalcW0 (double w0) |
void | setPositionCalcType (const PositionCalcType &t) |
void | setPreshowerGeom (const CaloSubdetectorGeometry *esh) |
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... | |
const CaloSubdetectorGeometry * | eb_geom |
const CaloSubdetectorGeometry * | ee_geom |
std::auto_ptr< PositionCalc > | eg_pos_calc |
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... | |
double | param_W0_ |
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_ |
const CaloSubdetectorGeometry * | preshower_geom |
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... | |
std::auto_ptr < SortedPFRecHitCollection > | sortedRecHits_ |
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... | |
PositionCalcType | which_pos_calc_ |
parameter for position calculation More... | |
Static Private Attributes | |
static unsigned | prodNum_ = 1 |
product number More... | |
Friends | |
std::ostream & | operator<< (std::ostream &out, const PFClusterAlgo &algo) |
Definition at line 53 of file PFClusterAlgo.h.
typedef std::multimap<double, unsigned >::iterator PFClusterAlgo::EH |
Definition at line 256 of file PFClusterAlgo.h.
typedef std::map<unsigned, unsigned >::const_iterator PFClusterAlgo::IDH |
Definition at line 255 of file PFClusterAlgo.h.
Definition at line 59 of file PFClusterAlgo.h.
Definition at line 79 of file PFClusterAlgo.h.
Definition at line 57 of file PFClusterAlgo.h.
Definition at line 58 of file PFClusterAlgo.h.
enum PFClusterAlgo::Color |
Enumerator | |
---|---|
NONE | |
SEED | |
SPECIAL |
Definition at line 207 of file PFClusterAlgo.h.
Enumerator | |
---|---|
THRESH | |
SEED_THRESH | |
PT_THRESH | |
SEED_PT_THRESH | |
CLEAN_THRESH | |
CLEAN_S4S1 | |
DOUBLESPIKE_THRESH | |
DOUBLESPIKE_S6S2 |
Definition at line 230 of file PFClusterAlgo.h.
Enumerator | |
---|---|
EGPositionCalc | |
EGPositionFormula | |
PFPositionCalc | |
kNotDefined |
Definition at line 61 of file PFClusterAlgo.h.
Enumerator | |
---|---|
UNKNOWN | |
NO | |
YES | |
CLEAN |
Definition at line 245 of file PFClusterAlgo.h.
PFClusterAlgo::PFClusterAlgo | ( | ) |
constructor
Definition at line 23 of file PFClusterAlgo.cc.
References file_, hBNeighbour, and hENeighbour.
|
inlinevirtual |
|
private |
build PFClusters from a topocluster
Definition at line 1021 of file PFClusterAlgo.cc.
References reco::PFCluster::addRecHitFraction(), calculateClusterPosition(), dtNoiseDBValidation_cfg::cerr, gather_cfg::cout, createRecHitRef(), debug_, delta, diffTreeTool::diff, alignCSCRings::e, 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, findQualityFiles::v, and YES.
Referenced by doClusteringWorker().
|
private |
build a topocluster (recursive)
Definition at line 945 of file PFClusterAlgo.cc.
References funct::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 901 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 1328 of file PFClusterAlgo.cc.
References funct::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, eb_geom, PFLayer::ECAL_BARREL, PFLayer::ECAL_ENDCAP, ee_geom, eg_pos_calc, EGPositionCalc, EGPositionFormula, reco::PFCluster::energy(), reco::PFRecHit::energy(), reco::CaloCluster::energy_, edm::hlt::Exception, 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(), LayerTriplets::layers(), create_public_lumi_plots::log, max(), PFLayer::NONE, SVfit_namespace::normalize(), NULL, p1, param_W0_, PFPositionCalc, posCalcNCrystal_, posCalcP1_, reco::PFRecHit::position(), reco::CaloCluster::position_, reco::PFCluster::posrep_, preshower_geom, PFLayer::PS1, PFLayer::PS2, reco::PFCluster::rechits_, reco::PFCluster::setLayer(), reco::CaloCluster::setSeed(), sortedRecHits_, mathSSE::sqrt(), threshBarrel_, threshEndcap_, which_pos_calc_, x, detailsBasic3DVector::y, and detailsBasic3DVector::z.
Referenced by buildPFClusters().
|
private |
Clean HCAL readout box noise and HPD discharge.
Definition at line 309 of file PFClusterAlgo.cc.
References funct::abs(), reco::PFRecHit::detId(), reco::PFRecHit::energy(), eRecHits_, PFLayer::HCAL_BARREL1, PFLayer::HCAL_ENDCAP, HcalDetId::ieta(), recoMuon::in, HcalDetId::iphi(), reco::PFRecHit::layer(), python.multivaluedict::map(), mask_, masked(), reco::PFRecHit::neighbours4(), pfRecHitsCleaned_, reco::PFRecHit::position(), rechit(), mathSSE::sqrt(), and dtDQMClient_cfg::threshold.
Referenced by doClusteringWorker().
|
inline |
Definition at line 220 of file PFClusterAlgo.h.
References pfClusters_.
Referenced by PFRootEventManager::clustering().
unsigned PFClusterAlgo::color | ( | unsigned | rhi | ) | const |
Definition at line 1766 of file PFClusterAlgo.cc.
References color_.
Referenced by cuy.plotElement::__init__(), cuy.superimposeElement::__init__(), cuy.graphElement::__init__(), DisplayManager::loadGRecHits(), and paint().
|
private |
create a reference to a rechit. in case rechitsHandle_.isValid(), this reference is permanent.
Definition at line 1801 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 1851 of file PFClusterAlgo.cc.
References gather_cfg::cout, alignCSCRings::e, i, M_PI, bookConverter::min, and pi.
Referenced by findSeeds().
void PFClusterAlgo::doClustering | ( | const reco::PFRecHitCollection & | rechits | ) |
perform clustering
Definition at line 114 of file PFClusterAlgo.cc.
References edm::HandleBase::clear(), doClusteringWorker(), kNotDefined, mask_, rechitsHandle_, sortedRecHits_, funct::true, and which_pos_calc_.
Referenced by PFRootEventManager::clustering().
void PFClusterAlgo::doClustering | ( | const reco::PFRecHitCollection & | rechits, |
const std::vector< bool > & | mask | ||
) |
Definition at line 132 of file PFClusterAlgo.cc.
References edm::HandleBase::clear(), doClusteringWorker(), kNotDefined, mask_, rechitsHandle_, sortedRecHits_, funct::true, and which_pos_calc_.
void PFClusterAlgo::doClustering | ( | const PFRecHitHandle & | rechitsHandle | ) |
perform clustering in full framework
Definition at line 68 of file PFClusterAlgo.cc.
References doClusteringWorker(), kNotDefined, mask_, HI_PhotonSkim_cff::rechits, rechitsHandle_, sortedRecHits_, funct::true, and which_pos_calc_.
void PFClusterAlgo::doClustering | ( | const PFRecHitHandle & | rechitsHandle, |
const std::vector< bool > & | mask | ||
) |
Definition at line 86 of file PFClusterAlgo.cc.
References doClusteringWorker(), kNotDefined, mask_, HI_PhotonSkim_cff::rechits, rechitsHandle_, sortedRecHits_, funct::true, and which_pos_calc_.
|
private |
perform clustering
Definition at line 156 of file PFClusterAlgo.cc.
References buildPFClusters(), buildTopoClusters(), cleanRBXAndHPD(), cleanRBXandHPDs_, color_, relval_parameters_module::energy, eRecHits_, edm::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 76 of file PFClusterAlgo.h.
Referenced by PFRootEventManager::readOptions().
|
private |
look for seeds
Definition at line 590 of file PFClusterAlgo.cc.
References funct::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(), bookConverter::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 1778 of file PFClusterAlgo.cc.
References seedStates_.
Referenced by buildPFClusters(), calculateClusterPosition(), and PFRootEventManager::printRecHits().
bool PFClusterAlgo::masked | ( | unsigned | rhi | ) | const |
Definition at line 1755 of file PFClusterAlgo.cc.
References mask_.
Referenced by buildTopoCluster(), buildTopoClusters(), cleanRBXAndHPD(), and findSeeds().
|
inline |
get number of neighbours for
Definition at line 183 of file PFClusterAlgo.h.
References nNeighbours_.
|
private |
paint a rechit with a color.
Definition at line 1789 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 216 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 189 of file PFClusterAlgo.h.
References posCalcNCrystal_.
Referenced by buildPFClusters().
|
inline |
get p1 for position calculation
Definition at line 186 of file PFClusterAlgo.h.
References posCalcP1_.
const reco::PFRecHit & PFClusterAlgo::rechit | ( | unsigned | i, |
const reco::PFRecHitCollection & | rechits | ||
) |
Definition at line 1742 of file PFClusterAlgo.cc.
References i.
Referenced by buildPFClusters(), buildTopoCluster(), cleanRBXAndHPD(), doClusteringWorker(), and findSeeds().
|
inline |
Definition at line 224 of file PFClusterAlgo.h.
References pfRecHitsCleaned_.
|
inline |
Activate cleaning of HCAL RBX's and HPD's.
Definition at line 164 of file PFClusterAlgo.h.
References cleanRBXandHPDs_.
Referenced by PFRootEventManager::readOptions().
|
inline |
|
inline |
|
inline |
Definition at line 135 of file PFClusterAlgo.h.
References eg_pos_calc.
|
inline |
set endcap clean threshold
Definition at line 126 of file PFClusterAlgo.h.
References mergeVDriftHistosByStation::file, file_, hBNeighbour, and hENeighbour.
Referenced by PFRootEventManager::readOptions().
|
inline |
set number of neighbours for
Definition at line 129 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 155 of file PFClusterAlgo.h.
References n, and posCalcNCrystal_.
Referenced by PFRootEventManager::readOptions().
|
inline |
set p1 for position calculation
Definition at line 152 of file PFClusterAlgo.h.
References p1, and posCalcP1_.
Referenced by PFRootEventManager::readOptions().
|
inline |
|
inline |
Definition at line 132 of file PFClusterAlgo.h.
References lumiQTWidget::t, and which_pos_calc_.
|
inline |
Definition at line 144 of file PFClusterAlgo.h.
References preshower_geom.
|
inline |
Definition at line 103 of file PFClusterAlgo.h.
References minS4S1Barrel_.
Referenced by PFRootEventManager::readOptions().
|
inline |
Definition at line 119 of file PFClusterAlgo.h.
References minS4S1Endcap_.
Referenced by PFRootEventManager::readOptions().
|
inline |
Definition at line 107 of file PFClusterAlgo.h.
References GOODCOLL_filter_cfg::cut, and minS6S2DoubleSpikeBarrel_.
Referenced by PFRootEventManager::readOptions().
|
inline |
Definition at line 123 of file PFClusterAlgo.h.
References GOODCOLL_filter_cfg::cut, and minS6S2DoubleSpikeEndcap_.
Referenced by PFRootEventManager::readOptions().
|
inline |
set shower sigma for
Definition at line 158 of file PFClusterAlgo.h.
References showerSigma_.
Referenced by PFRootEventManager::readOptions().
|
inline |
setters -------------------------------------------------——
set barrel threshold
Definition at line 94 of file PFClusterAlgo.h.
References GOODCOLL_filter_cfg::thresh, and threshBarrel_.
Referenced by PFRootEventManager::readOptions().
|
inline |
set barrel clean threshold
Definition at line 102 of file PFClusterAlgo.h.
References GOODCOLL_filter_cfg::thresh, and threshCleanBarrel_.
Referenced by PFRootEventManager::readOptions().
|
inline |
set endcap clean threshold
Definition at line 118 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 106 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 122 of file PFClusterAlgo.h.
References GOODCOLL_filter_cfg::thresh, and threshDoubleSpikeEndcap_.
Referenced by PFRootEventManager::readOptions().
|
inline |
set endcap threshold
Definition at line 110 of file PFClusterAlgo.h.
References GOODCOLL_filter_cfg::thresh, and threshEndcap_.
Referenced by PFRootEventManager::readOptions().
|
inline |
Definition at line 95 of file PFClusterAlgo.h.
References GOODCOLL_filter_cfg::thresh, and threshPtBarrel_.
Referenced by PFRootEventManager::readOptions().
|
inline |
Definition at line 111 of file PFClusterAlgo.h.
References GOODCOLL_filter_cfg::thresh, and threshPtEndcap_.
Referenced by PFRootEventManager::readOptions().
|
inline |
Definition at line 99 of file PFClusterAlgo.h.
References GOODCOLL_filter_cfg::thresh, and threshPtSeedBarrel_.
Referenced by PFRootEventManager::readOptions().
|
inline |
Definition at line 115 of file PFClusterAlgo.h.
References GOODCOLL_filter_cfg::thresh, and threshPtSeedEndcap_.
Referenced by PFRootEventManager::readOptions().
|
inline |
set barrel seed threshold
Definition at line 98 of file PFClusterAlgo.h.
References GOODCOLL_filter_cfg::thresh, and threshSeedBarrel_.
Referenced by PFRootEventManager::readOptions().
|
inline |
set endcap seed threshold
Definition at line 114 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 161 of file PFClusterAlgo.h.
References useCornerCells_.
Referenced by PFRootEventManager::readOptions().
|
inline |
|
inline |
getters -------------------------------------------------——
get barrel threshold
Definition at line 169 of file PFClusterAlgo.h.
References threshBarrel_.
Referenced by DisplayManager::createGRecHit().
|
inline |
get endcap threshold
Definition at line 176 of file PFClusterAlgo.h.
References threshEndcap_.
Referenced by DisplayManager::createGRecHit().
|
inline |
get barrel seed threshold
Definition at line 172 of file PFClusterAlgo.h.
References threshSeedBarrel_.
|
inline |
get endcap seed threshold
Definition at line 179 of file PFClusterAlgo.h.
References threshSeedEndcap_.
void PFClusterAlgo::write | ( | void | ) |
write histos
Definition at line 57 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 387 of file PFClusterAlgo.h.
Referenced by doClusteringWorker(), and setCleanRBXandHPDs().
|
private |
color, for all rechits
Definition at line 312 of file PFClusterAlgo.h.
Referenced by color(), doClusteringWorker(), and paint().
|
private |
debugging on/off
Definition at line 390 of file PFClusterAlgo.h.
Referenced by buildPFClusters(), buildTopoCluster(), buildTopoClusters(), enableDebugging(), and findSeeds().
|
private |
Definition at line 378 of file PFClusterAlgo.h.
Referenced by calculateClusterPosition(), and setEBGeom().
|
private |
Definition at line 378 of file PFClusterAlgo.h.
Referenced by calculateClusterPosition(), and setEEGeom().
|
private |
Definition at line 377 of file PFClusterAlgo.h.
Referenced by calculateClusterPosition(), and setEGammaPosCalc().
|
private |
indices to rechits, sorted by decreasing E (not E_T)
Definition at line 305 of file PFClusterAlgo.h.
Referenced by cleanRBXAndHPD(), doClusteringWorker(), and findSeeds().
|
private |
Definition at line 399 of file PFClusterAlgo.h.
Referenced by findSeeds(), PFClusterAlgo(), setHistos(), and write().
|
private |
Definition at line 397 of file PFClusterAlgo.h.
Referenced by findSeeds(), PFClusterAlgo(), and setHistos().
|
private |
Definition at line 398 of file PFClusterAlgo.h.
Referenced by findSeeds(), PFClusterAlgo(), and setHistos().
|
private |
ids of rechits used in seed search
Definition at line 302 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 309 of file PFClusterAlgo.h.
Referenced by cleanRBXAndHPD(), doClustering(), findSeeds(), and masked().
|
private |
Definition at line 353 of file PFClusterAlgo.h.
Referenced by operator<<(), parameter(), and setS4S1CleanBarrel().
|
private |
Definition at line 361 of file PFClusterAlgo.h.
Referenced by operator<<(), parameter(), and setS4S1CleanEndcap().
|
private |
Definition at line 357 of file PFClusterAlgo.h.
Referenced by parameter(), and setS6S2DoubleSpikeBarrel().
|
private |
Definition at line 365 of file PFClusterAlgo.h.
Referenced by parameter(), and setS6S2DoubleSpikeEndcap().
|
private |
number of neighbours
Definition at line 368 of file PFClusterAlgo.h.
Referenced by findSeeds(), nNeighbours(), operator<<(), and setNNeighbours().
|
private |
Definition at line 376 of file PFClusterAlgo.h.
Referenced by calculateClusterPosition(), and setPosCalcW0().
|
private |
all clusters
particle flow clusters
Definition at line 330 of file PFClusterAlgo.h.
Referenced by buildPFClusters(), clusters(), doClusteringWorker(), and operator<<().
|
private |
particle flow rechits cleaned
Definition at line 333 of file PFClusterAlgo.h.
Referenced by cleanRBXAndHPD(), doClusteringWorker(), findSeeds(), and rechitsCleaned().
|
private |
number of crystals for position calculation
Definition at line 371 of file PFClusterAlgo.h.
Referenced by buildPFClusters(), calculateClusterPosition(), operator<<(), posCalcNCrystal(), and setPosCalcNCrystal().
|
private |
Definition at line 375 of file PFClusterAlgo.h.
Referenced by calculateClusterPosition(), operator<<(), posCalcP1(), and setPosCalcP1().
|
private |
Definition at line 378 of file PFClusterAlgo.h.
Referenced by calculateClusterPosition(), and setPreshowerGeom().
|
staticprivate |
product number
Definition at line 394 of file PFClusterAlgo.h.
|
private |
Definition at line 297 of file PFClusterAlgo.h.
Referenced by createRecHitRef(), and doClustering().
|
private |
vector of indices for seeds.
Definition at line 321 of file PFClusterAlgo.h.
Referenced by buildTopoClusters(), and findSeeds().
|
private |
seed state, for all rechits
Definition at line 315 of file PFClusterAlgo.h.
Referenced by buildPFClusters(), doClusteringWorker(), findSeeds(), and isSeed().
|
private |
sigma of shower (cm)
Definition at line 381 of file PFClusterAlgo.h.
Referenced by buildPFClusters(), operator<<(), setShowerSigma(), and showerSigma().
|
private |
Definition at line 299 of file PFClusterAlgo.h.
Referenced by calculateClusterPosition(), and doClustering().
|
private |
barrel threshold
Definition at line 336 of file PFClusterAlgo.h.
Referenced by calculateClusterPosition(), operator<<(), parameter(), setThreshBarrel(), and threshBarrel().
|
private |
Barrel cleaning threshold and S4/S1 smallest fractiom.
Definition at line 352 of file PFClusterAlgo.h.
Referenced by operator<<(), parameter(), and setThreshCleanBarrel().
|
private |
Endcap cleaning threshold and S4/S1 smallest fractiom.
Definition at line 360 of file PFClusterAlgo.h.
Referenced by operator<<(), parameter(), and setThreshCleanEndcap().
|
private |
Barrel double-spike cleaning.
Definition at line 356 of file PFClusterAlgo.h.
Referenced by parameter(), and setThreshDoubleSpikeBarrel().
|
private |
Endcap double-spike cleaning.
Definition at line 364 of file PFClusterAlgo.h.
Referenced by parameter(), and setThreshDoubleSpikeEndcap().
|
private |
endcap threshold
Definition at line 344 of file PFClusterAlgo.h.
Referenced by calculateClusterPosition(), operator<<(), parameter(), setThreshEndcap(), and threshEndcap().
|
private |
Definition at line 337 of file PFClusterAlgo.h.
Referenced by operator<<(), parameter(), and setThreshPtBarrel().
|
private |
Definition at line 345 of file PFClusterAlgo.h.
Referenced by operator<<(), parameter(), and setThreshPtEndcap().
|
private |
Definition at line 341 of file PFClusterAlgo.h.
Referenced by operator<<(), parameter(), and setThreshPtSeedBarrel().
|
private |
Definition at line 349 of file PFClusterAlgo.h.
Referenced by operator<<(), parameter(), and setThreshPtSeedEndcap().
|
private |
barrel seed threshold
Definition at line 340 of file PFClusterAlgo.h.
Referenced by operator<<(), parameter(), setThreshSeedBarrel(), and threshSeedBarrel().
|
private |
endcap seed threshold
Definition at line 348 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 324 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 384 of file PFClusterAlgo.h.
Referenced by buildTopoCluster(), operator<<(), and setUseCornerCells().
|
private |
used in topo cluster? for all rechits
Definition at line 318 of file PFClusterAlgo.h.
Referenced by buildTopoCluster(), buildTopoClusters(), and doClusteringWorker().
|
private |
parameter for position calculation
Definition at line 374 of file PFClusterAlgo.h.
Referenced by calculateClusterPosition(), doClustering(), and setPositionCalcType().