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 processTreeData(
const edm::Event&, std::ofstream&);
75 if (ptr.get() ==
nullptr)
92 std::unique_ptr<fftjet::AbsDistanceCalculator<fftjet::Peak> >
distanceCalc;
115 : clusteringTree(nullptr),
118 etaMax(ps.getParameter<double>(
"etaMax")),
123 throw cms::Exception(
"FFTJetBadConfig") <<
"etaMax can not be negative" << std::endl;
170 if (
input->isSparse()) {
190 throw cms::Exception(
"FFTJetBadConfig") <<
"Failed to open file \"" <<
filename.str() <<
"\"" << std::endl;
T getParameter(std::string const &) const
Class for storing FFTJet sparse clustering trees.
fftjet::OpenDXPeakTree< long, fftjet::SparseClusteringTree > SparseFormatter
const edm::InputTag treeLabel
std::unique_ptr< fftjet::Functor1< double, fftjet::Peak > > fftjet_PeakFunctor_parser(const edm::ParameterSet &ps)
fftjet::Functor1< double, fftjet::Peak > PeakProperty
unsigned long long EventNumber_t
void checkConfig(const Ptr &ptr, const char *message)
example_stream void analyze(const edm::Event &, const edm::EventSetup &) override
reco::PattRecoTree< float, reco::PattRecoPeak< float > > StoredTree
edm::EDGetTokenT< StoredTree > treeToken
static std::string const input
void processTreeData(const edm::Event &, std::ofstream &)
fftjet::OpenDXPeakTree< long, fftjet::AbsClusteringTree > DXFormatter
ClusteringTree * clusteringTree
~FFTJetTreeDump() override
fftjet::ProximityClusteringTree< fftjet::Peak, long > ClusteringTree
std::unique_ptr< fftjet::AbsDistanceCalculator< fftjet::Peak > > distanceCalc
#define DEFINE_FWK_MODULE(type)
fftjet::SparseClusteringTree< fftjet::Peak, long > SparseTree
const std::string outputPrefix
std::unique_ptr< DXFormatter > denseFormatter
std::unique_ptr< fftjet::AbsDistanceCalculator< fftjet::Peak > > fftjet_DistanceCalculator_parser(const edm::ParameterSet &ps)
std::unique_ptr< PeakProperty > glyphSize
void sparsePeakTreeFromStorable(const reco::PattRecoTree< Real, reco::PattRecoPeak< Real > > &in, const std::vector< double > *scaleSetIfNotAdaptive, double completeEventScale, fftjet::SparseClusteringTree< fftjet::Peak, long > *out)
void densePeakTreeFromStorable(const reco::PattRecoTree< Real, reco::PattRecoPeak< Real > > &in, const std::vector< double > *scaleSetIfNotAdaptive, double completeEventScale, fftjet::AbsClusteringTree< fftjet::Peak, long > *out)
std::unique_ptr< SparseFormatter > sparseFormatter
const double completeEventScale
const bool insertCompleteEvent
std::unique_ptr< std::vector< double > > iniScales
void analyze(const edm::Event &, const edm::EventSetup &) override
std::unique_ptr< std::vector< double > > fftjet_ScaleSet_parser(const edm::ParameterSet &ps)
std::unique_ptr< PeakProperty > glyphColor