Go to the documentation of this file.
27 #include "fftjet/ProximityClusteringTree.hh"
28 #include "fftjet/OpenDXPeakTree.hh"
63 typedef fftjet::SparseClusteringTree<fftjet::Peak, long>
SparseTree;
64 typedef fftjet::OpenDXPeakTree<long, fftjet::AbsClusteringTree>
DXFormatter;
65 typedef fftjet::OpenDXPeakTree<long, fftjet::SparseClusteringTree>
SparseFormatter;
71 void endJob()
override;
74 void processTreeData(
const edm::Event&, std::ofstream&);
78 if (ptr.get() ==
nullptr)
96 std::unique_ptr<fftjet::AbsDistanceCalculator<fftjet::Peak> >
distanceCalc;
119 : clusteringTree(nullptr),
122 etaMax(ps.getParameter<double>(
"etaMax")),
123 storeInSinglePrecision(
true),
128 throw cms::Exception(
"FFTJetBadConfig") <<
"etaMax can not be negative" << std::endl;
165 template <
class Real>
176 if (
input->isSparse()) {
196 throw cms::Exception(
"FFTJetBadConfig") <<
"Failed to open file \"" <<
filename.str() <<
"\"" << std::endl;
std::unique_ptr< fftjet::Functor1< double, fftjet::Peak > > fftjet_PeakFunctor_parser(const edm::ParameterSet &ps)
static const std::string input
fftjet::Functor1< double, fftjet::Peak > PeakProperty
std::unique_ptr< SparseFormatter > sparseFormatter
std::unique_ptr< std::vector< double > > fftjet_ScaleSet_parser(const edm::ParameterSet &ps)
~FFTJetTreeDump() override
void processTreeData(const edm::Event &, std::ofstream &)
std::unique_ptr< PeakProperty > glyphSize
fftjet::OpenDXPeakTree< long, fftjet::AbsClusteringTree > DXFormatter
const bool insertCompleteEvent
fftjet::OpenDXPeakTree< long, fftjet::SparseClusteringTree > SparseFormatter
void densePeakTreeFromStorable(const reco::PattRecoTree< Real, reco::PattRecoPeak< Real > > &in, const std::vector< double > *scaleSetIfNotAdaptive, double completeEventScale, fftjet::AbsClusteringTree< fftjet::Peak, long > *out)
const std::string outputPrefix
edm::EDGetTokenT< StoredTree > treeToken
#define DEFINE_FWK_MODULE(type)
const bool storeInSinglePrecision
fftjet::SparseClusteringTree< fftjet::Peak, long > SparseTree
unsigned long long EventNumber_t
void sparsePeakTreeFromStorable(const reco::PattRecoTree< Real, reco::PattRecoPeak< Real > > &in, const std::vector< double > *scaleSetIfNotAdaptive, double completeEventScale, fftjet::SparseClusteringTree< fftjet::Peak, long > *out)
const edm::InputTag treeLabel
Class for storing FFTJet sparse clustering trees.
void checkConfig(const Ptr &ptr, const char *message)
example_stream void analyze(const edm::Event &, const edm::EventSetup &) override
std::unique_ptr< fftjet::AbsDistanceCalculator< fftjet::Peak > > distanceCalc
const double completeEventScale
std::unique_ptr< PeakProperty > glyphColor
reco::PattRecoTree< Real, reco::PattRecoPeak< Real > > StoredTree
fftjet::ProximityClusteringTree< fftjet::Peak, long > ClusteringTree
std::unique_ptr< std::vector< double > > iniScales
ClusteringTree * clusteringTree
T getParameter(std::string const &) const
std::unique_ptr< DXFormatter > denseFormatter
void analyze(const edm::Event &, const edm::EventSetup &) override
std::unique_ptr< fftjet::AbsDistanceCalculator< fftjet::Peak > > fftjet_DistanceCalculator_parser(const edm::ParameterSet &ps)