#include <RecoJets/FFTJetProducer/plugins/FFTJetTreeDump.cc>
Public Member Functions | |
FFTJetTreeDump (const edm::ParameterSet &) | |
~FFTJetTreeDump () | |
Public Member Functions inherited from edm::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
EDAnalyzer () | |
ModuleDescription const & | moduleDescription () const |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
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 () |
Private Types | |
typedef fftjet::ProximityClusteringTree < fftjet::Peak, long > | ClusteringTree |
typedef fftjet::OpenDXPeakTree < long, fftjet::AbsClusteringTree > | DXFormatter |
typedef fftjet::Functor1 < double, fftjet::Peak > | PeakProperty |
typedef fftjet::OpenDXPeakTree < long, fftjet::SparseClusteringTree > | SparseFormatter |
typedef fftjet::SparseClusteringTree < fftjet::Peak, long > | SparseTree |
typedef reco::PattRecoTree < Real, reco::PattRecoPeak < Real > > | StoredTree |
Private Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) override |
virtual void | beginJob () override |
template<class Ptr > | |
void | checkConfig (const Ptr &ptr, const char *message) |
virtual void | endJob () override |
FFTJetTreeDump () | |
FFTJetTreeDump (const FFTJetTreeDump &) | |
FFTJetTreeDump & | operator= (const FFTJetTreeDump &) |
template<class Real > | |
void | processTreeData (const edm::Event &, std::ofstream &) |
Private Attributes | |
ClusteringTree * | clusteringTree |
const double | completeEventScale |
unsigned | counter |
std::auto_ptr< DXFormatter > | denseFormatter |
std::auto_ptr < fftjet::AbsDistanceCalculator < fftjet::Peak > > | distanceCalc |
const double | etaMax |
std::auto_ptr< PeakProperty > | glyphColor |
std::auto_ptr< PeakProperty > | glyphSize |
std::auto_ptr< std::vector < double > > | iniScales |
const bool | insertCompleteEvent |
const std::string | outputPrefix |
std::auto_ptr< SparseFormatter > | sparseFormatter |
SparseTree | sparseTree |
const bool | storeInSinglePrecision |
const edm::InputTag | treeLabel |
edm::EDGetTokenT< StoredTree > | treeToken |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
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) |
Description: formats FFTJet clustering trees for subsequent visualization by OpenDX
Implementation: [Notes on implementation]
Definition at line 50 of file FFTJetTreeDump.cc.
|
private |
Definition at line 58 of file FFTJetTreeDump.cc.
|
private |
Definition at line 60 of file FFTJetTreeDump.cc.
|
private |
Definition at line 62 of file FFTJetTreeDump.cc.
|
private |
Definition at line 61 of file FFTJetTreeDump.cc.
|
private |
Definition at line 59 of file FFTJetTreeDump.cc.
|
private |
Definition at line 63 of file FFTJetTreeDump.cc.
|
explicit |
Definition at line 119 of file FFTJetTreeDump.cc.
References checkConfig(), clusteringTree, denseFormatter, distanceCalc, etaMax, edm::hlt::Exception, fftjetcms::fftjet_DistanceCalculator_parser(), fftjetcms::fftjet_PeakFunctor_parser(), fftjetcms::fftjet_ScaleSet_parser(), edm::ParameterSet::getParameter(), glyphColor, glyphSize, iniScales, python.multivaluedict::sort(), sparseFormatter, treeLabel, and treeToken.
FFTJetTreeDump::~FFTJetTreeDump | ( | ) |
|
private |
|
private |
|
overrideprivatevirtual |
Implements edm::EDAnalyzer.
Definition at line 210 of file FFTJetTreeDump.cc.
References counter, edm::hlt::Exception, mergeVDriftHistosByStation::file, lut2db_cfg::filename, iEvent, outputPrefix, and storeInSinglePrecision.
|
overrideprivatevirtual |
|
inlineprivate |
Definition at line 77 of file FFTJetTreeDump.cc.
References NULL.
Referenced by FFTJetTreeDump().
|
overrideprivatevirtual |
|
private |
|
private |
Definition at line 180 of file FFTJetTreeDump.cc.
References clusteringTree, completeEventScale, denseFormatter, fftjetcms::densePeakTreeFromStorable(), edm::EventID::event(), edm::Event::getByToken(), edm::EventBase::id(), iniScales, input, insertCompleteEvent, edm::EventID::run(), sparseFormatter, fftjetcms::sparsePeakTreeFromStorable(), sparseTree, and treeToken.
|
private |
Definition at line 85 of file FFTJetTreeDump.cc.
Referenced by FFTJetTreeDump(), processTreeData(), and ~FFTJetTreeDump().
|
private |
Definition at line 94 of file FFTJetTreeDump.cc.
Referenced by processTreeData().
|
private |
Definition at line 113 of file FFTJetTreeDump.cc.
Referenced by counter.Counters::__getitem__(), and analyze().
|
private |
Definition at line 110 of file FFTJetTreeDump.cc.
Referenced by FFTJetTreeDump(), and processTreeData().
|
private |
Definition at line 97 of file FFTJetTreeDump.cc.
Referenced by FFTJetTreeDump().
|
private |
Definition at line 91 of file FFTJetTreeDump.cc.
Referenced by FFTJetTreeDump().
|
private |
Definition at line 107 of file FFTJetTreeDump.cc.
Referenced by FFTJetTreeDump().
|
private |
Definition at line 106 of file FFTJetTreeDump.cc.
Referenced by FFTJetTreeDump().
|
private |
Definition at line 100 of file FFTJetTreeDump.cc.
Referenced by FFTJetTreeDump(), and processTreeData().
|
private |
Definition at line 93 of file FFTJetTreeDump.cc.
Referenced by processTreeData().
|
private |
Definition at line 90 of file FFTJetTreeDump.cc.
Referenced by analyze().
|
private |
Definition at line 111 of file FFTJetTreeDump.cc.
Referenced by FFTJetTreeDump(), and processTreeData().
|
private |
Definition at line 103 of file FFTJetTreeDump.cc.
Referenced by processTreeData().
|
private |
Definition at line 92 of file FFTJetTreeDump.cc.
Referenced by analyze().
|
private |
Definition at line 87 of file FFTJetTreeDump.cc.
Referenced by FFTJetTreeDump().
|
private |
Definition at line 88 of file FFTJetTreeDump.cc.
Referenced by FFTJetTreeDump(), and processTreeData().