#include <HLTRegionalEcalResonanceFilter.h>
Public Member Functions | |
virtual bool | filter (edm::Event &, const edm::EventSetup &) |
HLTRegionalEcalResonanceFilter (const edm::ParameterSet &) | |
~HLTRegionalEcalResonanceFilter () | |
Public Member Functions inherited from edm::stream::EDFilter<> | |
EDFilter ()=default | |
Public Member Functions inherited from edm::stream::EDFilterBase | |
EDFilterBase () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDFilterBase () |
Public Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::stream::EDFilterBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Private Member Functions | |
void | calcPaircluster (const reco::BasicCluster &bc1, const reco::BasicCluster &bc2, float &mpair, float &ptpair, float &etapair, float &phipair) |
void | calcShowerShape (const reco::BasicCluster &bc, const EcalChannelStatus &channelStatus, const EcalRecHitCollection *recHits, const CaloSubdetectorTopology *topology_p, bool calc5x5, std::vector< EcalRecHit > &rechit5x5, float res[]) |
bool | checkStatusOfEcalRecHit (const EcalChannelStatus &channelStatus, const EcalRecHit &rh) |
void | convxtalid (int &, int &) |
int | diff_neta_s (int, int) |
int | diff_nphi_s (int, int) |
void | doSelection (int detector, const reco::BasicClusterCollection *clusterCollection, const EcalRecHitCollection *hitCollection, const EcalChannelStatus &channelStatus, const CaloSubdetectorTopology *topology_p, std::map< int, std::vector< EcalRecHit > > &RecHits5x5_clus, std::vector< int > &indCandClus, std::vector< int > &indIsoClus, std::vector< int > &indClusSelected) |
void | makeClusterES (float x, float y, float z, const CaloSubdetectorGeometry *&iSubGeom, CaloSubdetectorTopology *&topology_p) |
Static Private Member Functions | |
static float | DeltaPhi (float phi1, float phi2) |
static float | GetDeltaR (float eta1, float eta2, float phi1, float phi2) |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDFilter<> | |
typedef CacheContexts< T...> | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T...> | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT < LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
Public Types inherited from edm::stream::EDFilterBase | |
typedef EDFilterAdaptorBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
Definition at line 74 of file HLTRegionalEcalResonanceFilter.h.
|
explicit |
------------------———BARREL SELECTION--------------------------———
---------------------——ENDCAP SELECTION-----------------------——
for storing rechits ES for each selected EE clusters.
Definition at line 9 of file HLTRegionalEcalResonanceFilter.cc.
References HLT_25ns14e33_v3_cff::barrelSelection, HLT_25ns14e33_v3_cff::endcapSelection, edm::ParameterSet::getParameter(), HLT_25ns14e33_v3_cff::preshowerSelection, and AlCaHLTBitMon_QueryRunRegistry::string.
HLTRegionalEcalResonanceFilter::~HLTRegionalEcalResonanceFilter | ( | ) |
Definition at line 160 of file HLTRegionalEcalResonanceFilter.cc.
|
private |
Definition at line 1023 of file HLTRegionalEcalResonanceFilter.cc.
References funct::cos(), create_public_lumi_plots::exp, funct::sin(), and findQualityFiles::v.
|
private |
has to add "f", make it float
only store those not belonging to this cluster
S4, S9 are defined inside the cluster, the same as below.
if not asked to calculte 5x5, then just make e5x5 = e3x3
e2x2
Definition at line 902 of file HLTRegionalEcalResonanceFilter.cc.
References funct::abs(), EcalBarrel, edm::SortedCollection< T, SORT >::end(), relval_parameters_module::energy, f, spr::find(), edm::SortedCollection< T, SORT >::find(), CaloSubdetectorTopology::getWindow(), EBDetId::ieta(), EBDetId::iphi(), EEDetId::ix(), EEDetId::iy(), DetId::subdetId(), and x().
|
private |
from recoFlag()
good
good || PoorCalib
good || PoorCalib || LeadingEdgeRecovered || kNeighboursRecovered,
Definition at line 1050 of file HLTRegionalEcalResonanceFilter.cc.
References EcalRecHit::id(), DetId::rawId(), EcalRecHit::recoFlag(), and ntuplemaker::status.
|
private |
Definition at line 863 of file HLTRegionalEcalResonanceFilter.cc.
|
staticprivate |
|
private |
Definition at line 882 of file HLTRegionalEcalResonanceFilter.cc.
|
private |
|
private |
those clusters identified as pi0s
pt & Pt pair Cut
Mass window Cut
remember which Iso cluster used
Save two good clusters' index( plus Iso cluster ) if not yet saved
good cluster
indIsoClus | good cluster all , 5x5 rechit done already during the loop |
indClusSelected | Iso cluster all , 5x5 rechit not yet done saved so far, all |
Definition at line 572 of file HLTRegionalEcalResonanceFilter.cc.
References EcalBarrel, EcalEndcap, create_public_lumi_plots::exp, spr::find(), relval_steps::k, gen::n, ptmin, and funct::sin().
|
static |
Definition at line 169 of file HLTRegionalEcalResonanceFilter.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), HLT_25ns14e33_v3_cff::barrelSelection, HLT_25ns14e33_v3_cff::endcapSelection, HLT_25ns14e33_v1_cff::InputTag, HLT_25ns14e33_v3_cff::preshowerSelection, and AlCaHLTBitMon_QueryRunRegistry::string.
|
virtual |
if no preshower
get status from DB
==============Start to process barrel part==================///
5x5 for selected pairs
Iso cluster all , 5x5 rechit not yet done
good cluster all , 5x5 rechit done already during the loop
saved so far, all
Now save all rechits in the selected clusters
stroe 5x5 of good clusters, 5x5 arleady got
store 5x5 of Iso clusters, need to getWindow of 5x5
check if already saved in the good cluster vector
==============End of barrel ==================///
get preshower rechits
5x5 for selected pairs
Iso cluster all , 5x5 rechit not yet done
good cluster all , 5x5 rechit done already during the loop
saved so far, all
Now save all rechits in the selected clusters
save preshower rechits
store 5x5 of good clusters, 5x5 arleady got
store 5x5 of Iso clusters, need to getWindow of 5x5
check if already saved in the good cluster vector
Implements edm::stream::EDFilterBase.
Definition at line 287 of file HLTRegionalEcalResonanceFilter.cc.
References DetId::Ecal, EcalBarrel, EcalEndcap, EcalPreshower, edm::SortedCollection< T, SORT >::end(), edm::EventID::event(), spr::find(), edm::SortedCollection< T, SORT >::find(), edm::EventSetup::get(), edm::Event::getByToken(), CaloSubdetectorTopology::getWindow(), i, edm::EventBase::id(), edm::HandleBase::isValid(), LogDebug, gen::n, edm::Handle< T >::product(), edm::Event::put(), edm::EventID::run(), and edm::SortedCollection< T, SORT >::size().
|
staticprivate |
Definition at line 1085 of file HLTRegionalEcalResonanceFilter.cc.
References mathSSE::sqrt().
|
private |
get assosicated ES clusters of this endcap cluster
Definition at line 1093 of file HLTRegionalEcalResonanceFilter.cc.
References GetRecoTauVFromDQM_MC_cff::cl2, and point.
|
private |
Definition at line 114 of file HLTRegionalEcalResonanceFilter.h.
|
private |
Definition at line 120 of file HLTRegionalEcalResonanceFilter.h.
|
private |
Definition at line 112 of file HLTRegionalEcalResonanceFilter.h.
|
private |
output hits
Definition at line 124 of file HLTRegionalEcalResonanceFilter.h.
|
private |
Definition at line 117 of file HLTRegionalEcalResonanceFilter.h.
|
private |
Definition at line 210 of file HLTRegionalEcalResonanceFilter.h.
|
private |
Definition at line 211 of file HLTRegionalEcalResonanceFilter.h.
|
private |
Definition at line 220 of file HLTRegionalEcalResonanceFilter.h.
|
private |
------—BARREL CONFIGURATION
Definition at line 130 of file HLTRegionalEcalResonanceFilter.h.
|
private |
Definition at line 164 of file HLTRegionalEcalResonanceFilter.h.
|
private |
Definition at line 115 of file HLTRegionalEcalResonanceFilter.h.
|
private |
Definition at line 121 of file HLTRegionalEcalResonanceFilter.h.
|
private |
Definition at line 113 of file HLTRegionalEcalResonanceFilter.h.
|
private |
Definition at line 125 of file HLTRegionalEcalResonanceFilter.h.
|
private |
Definition at line 118 of file HLTRegionalEcalResonanceFilter.h.
|
private |
Definition at line 126 of file HLTRegionalEcalResonanceFilter.h.
|
private |
Definition at line 209 of file HLTRegionalEcalResonanceFilter.h.
|
private |
Definition at line 202 of file HLTRegionalEcalResonanceFilter.h.
|
private |
Definition at line 213 of file HLTRegionalEcalResonanceFilter.h.
|
private |
Definition at line 217 of file HLTRegionalEcalResonanceFilter.h.
|
private |
Definition at line 218 of file HLTRegionalEcalResonanceFilter.h.
|
private |
Definition at line 161 of file HLTRegionalEcalResonanceFilter.h.
|
private |
Definition at line 160 of file HLTRegionalEcalResonanceFilter.h.
|
private |
Definition at line 212 of file HLTRegionalEcalResonanceFilter.h.
|
private |
Definition at line 215 of file HLTRegionalEcalResonanceFilter.h.
|
private |
Definition at line 208 of file HLTRegionalEcalResonanceFilter.h.
|
private |
Definition at line 206 of file HLTRegionalEcalResonanceFilter.h.
|
private |
Definition at line 119 of file HLTRegionalEcalResonanceFilter.h.
|
private |
Definition at line 207 of file HLTRegionalEcalResonanceFilter.h.
|
private |
Definition at line 157 of file HLTRegionalEcalResonanceFilter.h.
|
private |
Definition at line 197 of file HLTRegionalEcalResonanceFilter.h.
|
private |
Definition at line 133 of file HLTRegionalEcalResonanceFilter.h.
|
private |
Definition at line 167 of file HLTRegionalEcalResonanceFilter.h.
|
private |
Definition at line 174 of file HLTRegionalEcalResonanceFilter.h.
|
private |
Definition at line 159 of file HLTRegionalEcalResonanceFilter.h.
|
private |
Definition at line 156 of file HLTRegionalEcalResonanceFilter.h.
|
private |
Definition at line 196 of file HLTRegionalEcalResonanceFilter.h.
|
private |
Definition at line 155 of file HLTRegionalEcalResonanceFilter.h.
|
private |
Definition at line 195 of file HLTRegionalEcalResonanceFilter.h.
|
private |
Definition at line 137 of file HLTRegionalEcalResonanceFilter.h.
|
private |
Definition at line 143 of file HLTRegionalEcalResonanceFilter.h.
|
private |
Definition at line 171 of file HLTRegionalEcalResonanceFilter.h.
|
private |
Definition at line 178 of file HLTRegionalEcalResonanceFilter.h.
|
private |
Definition at line 185 of file HLTRegionalEcalResonanceFilter.h.
|
private |
Definition at line 145 of file HLTRegionalEcalResonanceFilter.h.
|
private |
Definition at line 187 of file HLTRegionalEcalResonanceFilter.h.
|
private |
Definition at line 146 of file HLTRegionalEcalResonanceFilter.h.
|
private |
Definition at line 188 of file HLTRegionalEcalResonanceFilter.h.
|
private |
Definition at line 134 of file HLTRegionalEcalResonanceFilter.h.
|
private |
Definition at line 140 of file HLTRegionalEcalResonanceFilter.h.
|
private |
Definition at line 168 of file HLTRegionalEcalResonanceFilter.h.
|
private |
Definition at line 175 of file HLTRegionalEcalResonanceFilter.h.
|
private |
Definition at line 181 of file HLTRegionalEcalResonanceFilter.h.
|
private |
Definition at line 135 of file HLTRegionalEcalResonanceFilter.h.
|
private |
Definition at line 141 of file HLTRegionalEcalResonanceFilter.h.
|
private |
Definition at line 169 of file HLTRegionalEcalResonanceFilter.h.
|
private |
Definition at line 176 of file HLTRegionalEcalResonanceFilter.h.
|
private |
Definition at line 182 of file HLTRegionalEcalResonanceFilter.h.
|
private |
Definition at line 183 of file HLTRegionalEcalResonanceFilter.h.
|
private |
Definition at line 136 of file HLTRegionalEcalResonanceFilter.h.
|
private |
Definition at line 142 of file HLTRegionalEcalResonanceFilter.h.
|
private |
Definition at line 170 of file HLTRegionalEcalResonanceFilter.h.
|
private |
Definition at line 177 of file HLTRegionalEcalResonanceFilter.h.
|
private |
Definition at line 184 of file HLTRegionalEcalResonanceFilter.h.
|
private |
Definition at line 152 of file HLTRegionalEcalResonanceFilter.h.
|
private |
Definition at line 192 of file HLTRegionalEcalResonanceFilter.h.
|
private |
Definition at line 203 of file HLTRegionalEcalResonanceFilter.h.
|
private |
Definition at line 162 of file HLTRegionalEcalResonanceFilter.h.
|
private |
Definition at line 198 of file HLTRegionalEcalResonanceFilter.h.
|
private |
Definition at line 205 of file HLTRegionalEcalResonanceFilter.h.
|
private |
Definition at line 201 of file HLTRegionalEcalResonanceFilter.h.
|
private |
Definition at line 200 of file HLTRegionalEcalResonanceFilter.h.