CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Protected Member Functions | Private Attributes
FastjetJetProducer Class Reference

#include <FastjetJetProducer.h>

Inheritance diagram for FastjetJetProducer:
VirtualJetProducer edm::stream::EDProducer<> edm::stream::EDProducerBase edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper cms::CATopJetProducer

Public Types

typedef boost::shared_ptr
< DynamicRfilt
DynamicRfiltPtr
 
typedef fastjet::Transformer transformer
 
typedef std::vector
< transformer_ptr
transformer_coll
 
typedef std::unique_ptr
< transformer
transformer_ptr
 
- Public Types inherited from VirtualJetProducer
typedef boost::shared_ptr
< fastjet::GhostedAreaSpec > 
ActiveAreaSpecPtr
 
typedef boost::shared_ptr
< fastjet::AreaDefinition > 
AreaDefinitionPtr
 
typedef boost::shared_ptr
< fastjet::ClusterSequence > 
ClusterSequencePtr
 
typedef boost::shared_ptr
< fastjet::JetDefinition > 
JetDefPtr
 
typedef boost::shared_ptr
< fastjet::JetDefinition::Plugin > 
PluginPtr
 
typedef boost::shared_ptr
< fastjet::RangeDefinition > 
RangeDefPtr
 
- Public Types inherited from edm::stream::EDProducer<>
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::EDProducerBase
typedef EDProducerAdaptorBase ModuleType
 
- Public Types inherited from edm::ProducerBase
typedef
ProductRegistryHelper::TypeLabelList 
TypeLabelList
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 

Public Member Functions

 FastjetJetProducer (const edm::ParameterSet &iConfig)
 
virtual void produce (edm::Event &iEvent, const edm::EventSetup &iSetup)
 
virtual ~FastjetJetProducer ()
 
- Public Member Functions inherited from VirtualJetProducer
std::string jetType () const
 
 VirtualJetProducer (const edm::ParameterSet &iConfig)
 
virtual ~VirtualJetProducer ()
 
- Public Member Functions inherited from edm::stream::EDProducer<>
 EDProducer ()=default
 
- Public Member Functions inherited from edm::stream::EDProducerBase
 EDProducerBase ()
 
ModuleDescription const & moduleDescription () const
 
virtual ~EDProducerBase ()
 
- 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< ConsumesInfoconsumesInfo () 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 ()
 

Protected Member Functions

virtual void produceTrackJets (edm::Event &iEvent, const edm::EventSetup &iSetup)
 
virtual void runAlgorithm (edm::Event &iEvent, const edm::EventSetup &iSetup)
 
- Protected Member Functions inherited from VirtualJetProducer
virtual void copyConstituents (const std::vector< fastjet::PseudoJet > &fjConstituents, reco::Jet *jet)
 
virtual std::vector
< reco::CandidatePtr
getConstituents (const std::vector< fastjet::PseudoJet > &fjConstituents)
 
virtual void inputTowers ()
 
virtual bool isAnomalousTower (reco::CandidatePtr input)
 
bool makeBasicJet (const JetType::Type &fTag)
 
bool makeCaloJet (const JetType::Type &fTag)
 
bool makeGenJet (const JetType::Type &fTag)
 
bool makePFClusterJet (const JetType::Type &fTag)
 
bool makePFJet (const JetType::Type &fTag)
 
virtual void makeProduces (std::string s, std::string tag="")
 
bool makeTrackJet (const JetType::Type &fTag)
 
void offsetCorrectJets (std::vector< fastjet::PseudoJet > &orphanInput)
 
virtual void output (edm::Event &iEvent, edm::EventSetup const &iSetup)
 
template<typename T >
void writeCompoundJets (edm::Event &iEvent, edm::EventSetup const &iSetup)
 function template to write out the outputs More...
 
template<typename T >
void writeJets (edm::Event &iEvent, edm::EventSetup const &iSetup)
 
- 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)
 

Private Attributes

double beta_
 for constituent subtraction : R parameter for KT alg in jet median background estimator More...
 
double csRho_EtaMax_
 for pruning: constituent dR * pt/2m < rcut_factor More...
 
double csRParam_
 for constituent subtraction : maximum rapidity for ghosts More...
 
double dRMax_
 for CMSBoostedTauSeedingAlgorithm : min dR More...
 
double dRMin_
 for CMSBoostedTauSeedingAlgorithm : max asymmetry More...
 
float dxyTrVtxMax_
 
float dzTrVtxMax_
 
edm::EDGetTokenT< edm::View
< reco::RecoChargedRefCandidate > > 
input_chrefcand_token_
 for CMSBoostedTauSeedingAlgorithm : max depth for descending into clustering sequence More...
 
int maxDepth_
 for CMSBoostedTauSeedingAlgorithm : max dR More...
 
float maxVtxZ_
 
int minVtxNdof_
 
double muCut_
 Soft drop. More...
 
double muMax_
 for CMSBoostedTauSeedingAlgorithm : min mass-drop More...
 
double muMin_
 for CMSBoostedTauSeedingAlgorithm : subjet pt min More...
 
int nFilt_
 for dynamic filtering radius (as in arXiv:0802.2470) More...
 
double R0_
 for soft drop : beta (angular exponent) More...
 
double RcutFactor_
 for pruning OR soft drop: constituent minimum pt fraction of parent cluster More...
 
double rFilt_
 for mass-drop tagging, symmetry cut: min(pt1^2,pt2^2) * dR(1,2) / mjet > ycut More...
 
DynamicRfiltPtr rFiltDynamic_
 for filtering, trimming: dR scale of sub-clustering More...
 
double rFiltFactor_
 for dynamic filtering radius (as in arXiv:0802.2470) More...
 
double subjetPtMin_
 for soft drop : R0 (angular distance normalization - should be set to jet radius in most cases) More...
 
double trimPtFracMin_
 for filtering, pruning: number of subjets expected More...
 
bool useCMSBoostedTauSeedingAlgorithm_
 Jet pruning technique. More...
 
bool useConstituentSubtraction_
 Use Kt clustering algorithm for pruning (default is Cambridge/Aachen) More...
 
bool useDynamicFiltering_
 Jet filtering technique. More...
 
bool useFiltering_
 Mass-drop tagging for boosted Higgs. More...
 
bool useKtPruning_
 algorithm for seeding reconstruction of boosted Taus (similar to mass-drop tagging) More...
 
bool useMassDropTagger_
 
bool useOnlyOnePV_
 
bool useOnlyVertexTracks_
 
bool usePruning_
 Jet trimming technique. More...
 
bool useSoftDrop_
 constituent subtraction technique More...
 
bool useTrimming_
 Use dynamic filtering radius (as in arXiv:0802.2470) More...
 
double yCut_
 for mass-drop tagging, m0/mjet (m0 = mass of highest mass subjet) More...
 
double yMax_
 for CMSBoostedTauSeedingAlgorithm : min asymmetry More...
 
double yMin_
 for CMSBoostedTauSeedingAlgorithm : max mass-drop More...
 
double zCut_
 for trimming: constituent minimum pt fraction of full jet More...
 

Additional Inherited Members

- Static Public Member Functions inherited from edm::stream::EDProducerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 
- Protected Attributes inherited from VirtualJetProducer
bool doAreaDiskApprox_
 
bool doAreaFastjet_
 
bool doFastJetNonUniform_
 
bool doPUOffsetCorr_
 
bool doPVCorrection_
 
bool doRhoFastjet_
 
ActiveAreaSpecPtr fjActiveArea_
 
AreaDefinitionPtr fjAreaDefinition_
 
ClusterSequencePtr fjClusterSeq_
 
std::vector< fastjet::PseudoJet > fjInputs_
 
JetDefPtr fjJetDefinition_
 
std::vector< fastjet::PseudoJet > fjJets_
 
PluginPtr fjPlugin_
 
RangeDefPtr fjRangeDef_
 
edm::EDGetTokenT
< reco::VertexCollection
input_vertex_token_
 
double inputEMin_
 
double inputEtMin_
 
std::vector< edm::Ptr
< reco::Candidate > > 
inputs_
 
std::string jetAlgorithm_
 
std::string jetCollInstanceName_
 
double jetPtMin_
 
std::string jetType_
 
JetType::Type jetTypeE
 
unsigned int maxInputs_
 
unsigned int minSeed_
 
std::string moduleLabel_
 
unsigned int nExclude_
 
std::vector< double > puCenters_
 
std::string puSubtractorName_
 
double puWidth_
 
bool restrictInputs_
 
double rParam_
 
edm::InputTag src_
 
edm::InputTag srcPVs_
 
boost::shared_ptr
< PileUpSubtractor
subtractor_
 
bool useDeterministicSeed_
 
bool useExplicitGhosts_
 
int verbosity_
 
reco::Particle::Point vertex_
 
double voronoiRfact_
 
bool writeCompound_
 

Detailed Description

Definition at line 39 of file FastjetJetProducer.h.

Member Typedef Documentation

Definition at line 56 of file FastjetJetProducer.h.

typedef fastjet::Transformer FastjetJetProducer::transformer

Definition at line 44 of file FastjetJetProducer.h.

Definition at line 46 of file FastjetJetProducer.h.

Definition at line 45 of file FastjetJetProducer.h.

Constructor & Destructor Documentation

FastjetJetProducer::FastjetJetProducer ( const edm::ParameterSet iConfig)
explicit

Can't use these together

Definition at line 57 of file FastjetJetProducer.cc.

References beta_, csRho_EtaMax_, csRParam_, dRMax_, dRMin_, dxyTrVtxMax_, dzTrVtxMax_, edm::hlt::Exception, edm::ParameterSet::exists(), VirtualJetProducer::fjAreaDefinition_, edm::ParameterSet::getParameter(), input_chrefcand_token_, maxDepth_, maxVtxZ_, minVtxNdof_, muCut_, muMax_, muMin_, nFilt_, R0_, RcutFactor_, rFilt_, rFiltDynamic_, rFiltFactor_, VirtualJetProducer::src_, subjetPtMin_, trimPtFracMin_, useCMSBoostedTauSeedingAlgorithm_, useConstituentSubtraction_, useDynamicFiltering_, VirtualJetProducer::useExplicitGhosts_, useFiltering_, useKtPruning_, useMassDropTagger_, useOnlyOnePV_, useOnlyVertexTracks_, usePruning_, useSoftDrop_, useTrimming_, yCut_, yMax_, yMin_, and zCut_.

58  : VirtualJetProducer( iConfig ),
59  useMassDropTagger_(false),
60  useFiltering_(false),
61  useDynamicFiltering_(false),
62  useTrimming_(false),
63  usePruning_(false),
65  useKtPruning_(false),
67  useSoftDrop_(false),
68  muCut_(-1.0),
69  yCut_(-1.0),
70  rFilt_(-1.0),
71  rFiltFactor_(-1.0),
72  nFilt_(-1),
73  trimPtFracMin_(-1.0),
74  zCut_(-1.0),
75  RcutFactor_(-1.0),
76  csRho_EtaMax_(-1.0),
77  csRParam_(-1.0),
78  beta_(-1.0),
79  R0_(-1.0)
80 {
81 
82  if ( iConfig.exists("UseOnlyVertexTracks") )
83  useOnlyVertexTracks_ = iConfig.getParameter<bool>("UseOnlyVertexTracks");
84  else
85  useOnlyVertexTracks_ = false;
86 
87  if ( iConfig.exists("UseOnlyOnePV") )
88  useOnlyOnePV_ = iConfig.getParameter<bool>("UseOnlyOnePV");
89  else
90  useOnlyOnePV_ = false;
91 
92  if ( iConfig.exists("DzTrVtxMax") )
93  dzTrVtxMax_ = iConfig.getParameter<double>("DzTrVtxMax");
94  else
95  dzTrVtxMax_ = 999999.;
96  if ( iConfig.exists("DxyTrVtxMax") )
97  dxyTrVtxMax_ = iConfig.getParameter<double>("DxyTrVtxMax");
98  else
99  dxyTrVtxMax_ = 999999.;
100  if ( iConfig.exists("MinVtxNdof") )
101  minVtxNdof_ = iConfig.getParameter<int>("MinVtxNdof");
102  else
103  minVtxNdof_ = 5;
104  if ( iConfig.exists("MaxVtxZ") )
105  maxVtxZ_ = iConfig.getParameter<double>("MaxVtxZ");
106  else
107  maxVtxZ_ = 15;
108 
109 
110  if ( iConfig.exists("useFiltering") ||
111  iConfig.exists("useTrimming") ||
112  iConfig.exists("usePruning") ||
113  iConfig.exists("useMassDropTagger") ||
114  iConfig.exists("useCMSBoostedTauSeedingAlgorithm") ||
115  iConfig.exists("useConstituentSubtraction") ||
116  iConfig.exists("useSoftDrop")
117  ) {
118  useMassDropTagger_=false;
119  useFiltering_=false;
120  useDynamicFiltering_=false;
121  useTrimming_=false;
122  usePruning_=false;
124  useKtPruning_=false;
126  useSoftDrop_ = false;
127  rFilt_=-1.0;
128  rFiltFactor_=-1.0;
129  nFilt_=-1;
130  trimPtFracMin_=-1.0;
131  zCut_=-1.0;
132  RcutFactor_=-1.0;
133  muCut_=-1.0;
134  yCut_=-1.0;
135  subjetPtMin_ = -1.0;
136  muMin_ = -1.0;
137  muMax_ = -1.0;
138  yMin_ = -1.0;
139  yMax_ = -1.0;
140  dRMin_ = -1.0;
141  dRMax_ = -1.0;
142  maxDepth_ = -1;
143  csRho_EtaMax_ = -1.0;
144  csRParam_ = -1.0;
145  beta_ = -1.0;
146  R0_ = -1.0;
147  useExplicitGhosts_ = true;
148 
149  if ( iConfig.exists("useMassDropTagger") ) {
150  useMassDropTagger_ = iConfig.getParameter<bool>("useMassDropTagger");
151  muCut_ = iConfig.getParameter<double>("muCut");
152  yCut_ = iConfig.getParameter<double>("yCut");
153  }
154 
155  if ( iConfig.exists("useFiltering") ) {
156  useFiltering_ = iConfig.getParameter<bool>("useFiltering");
157  rFilt_ = iConfig.getParameter<double>("rFilt");
158  nFilt_ = iConfig.getParameter<int>("nFilt");
159  if ( iConfig.exists("useDynamicFiltering") ) {
160  useDynamicFiltering_ = iConfig.getParameter<bool>("useDynamicFiltering");
161  rFiltFactor_ = iConfig.getParameter<double>("rFiltFactor");
162  if ( useDynamicFiltering_ )
163  rFiltDynamic_ = DynamicRfiltPtr(new DynamicRfilt(rFilt_, rFiltFactor_));
164  }
165  }
166 
167  if ( iConfig.exists("useTrimming") ) {
168  useTrimming_ = iConfig.getParameter<bool>("useTrimming");
169  rFilt_ = iConfig.getParameter<double>("rFilt");
170  trimPtFracMin_ = iConfig.getParameter<double>("trimPtFracMin");
171  }
172 
173  if ( iConfig.exists("usePruning") ) {
174  usePruning_ = iConfig.getParameter<bool>("usePruning");
175  zCut_ = iConfig.getParameter<double>("zcut");
176  RcutFactor_ = iConfig.getParameter<double>("rcut_factor");
177  nFilt_ = iConfig.getParameter<int>("nFilt");
178  if ( iConfig.exists("useKtPruning") )
179  useKtPruning_ = iConfig.getParameter<bool>("useKtPruning");
180  }
181 
182  if ( iConfig.exists("useCMSBoostedTauSeedingAlgorithm") ) {
183  useCMSBoostedTauSeedingAlgorithm_ = iConfig.getParameter<bool>("useCMSBoostedTauSeedingAlgorithm");
184  subjetPtMin_ = iConfig.getParameter<double>("subjetPtMin");
185  muMin_ = iConfig.getParameter<double>("muMin");
186  muMax_ = iConfig.getParameter<double>("muMax");
187  yMin_ = iConfig.getParameter<double>("yMin");
188  yMax_ = iConfig.getParameter<double>("yMax");
189  dRMin_ = iConfig.getParameter<double>("dRMin");
190  dRMax_ = iConfig.getParameter<double>("dRMax");
191  maxDepth_ = iConfig.getParameter<int>("maxDepth");
192  }
193 
194  if ( iConfig.exists("useConstituentSubtraction") ) {
195 
196  if ( fjAreaDefinition_.get() == 0 ) {
197  throw cms::Exception("AreaMustBeSet") << "Logic error. The area definition must be set if you use constituent subtraction." << std::endl;
198  }
199 
200  useConstituentSubtraction_ = iConfig.getParameter<bool>("useConstituentSubtraction");
201  csRho_EtaMax_ = iConfig.getParameter<double>("csRho_EtaMax");
202  csRParam_ = iConfig.getParameter<double>("csRParam");
203  }
204 
205  if ( iConfig.exists("useSoftDrop") ) {
206  if ( usePruning_ ) {
207  throw cms::Exception("PruningAndSoftDrop") << "Logic error. Soft drop is a generalized pruning, do not run them together." << std::endl;
208  }
209  useSoftDrop_ = iConfig.getParameter<bool>("useSoftDrop");
210  zCut_ = iConfig.getParameter<double>("zcut");
211  beta_ = iConfig.getParameter<double>("beta");
212  R0_ = iConfig.getParameter<double>("R0");
213  }
214 
215  }
216 
217  input_chrefcand_token_ = consumes<edm::View<reco::RecoChargedRefCandidate> >(src_);
218 
219 }
double muMin_
for CMSBoostedTauSeedingAlgorithm : subjet pt min
T getParameter(std::string const &) const
double yMin_
for CMSBoostedTauSeedingAlgorithm : max mass-drop
bool useFiltering_
Mass-drop tagging for boosted Higgs.
double rFilt_
for mass-drop tagging, symmetry cut: min(pt1^2,pt2^2) * dR(1,2) / mjet &gt; ycut
double dRMax_
for CMSBoostedTauSeedingAlgorithm : min dR
double subjetPtMin_
for soft drop : R0 (angular distance normalization - should be set to jet radius in most cases) ...
bool useDynamicFiltering_
Jet filtering technique.
bool exists(std::string const &parameterName) const
checks if a parameter exists
double RcutFactor_
for pruning OR soft drop: constituent minimum pt fraction of parent cluster
bool useSoftDrop_
constituent subtraction technique
double yMax_
for CMSBoostedTauSeedingAlgorithm : min asymmetry
bool useKtPruning_
algorithm for seeding reconstruction of boosted Taus (similar to mass-drop tagging) ...
bool useTrimming_
Use dynamic filtering radius (as in arXiv:0802.2470)
double csRParam_
for constituent subtraction : maximum rapidity for ghosts
double trimPtFracMin_
for filtering, pruning: number of subjets expected
bool usePruning_
Jet trimming technique.
bool useCMSBoostedTauSeedingAlgorithm_
Jet pruning technique.
edm::EDGetTokenT< edm::View< reco::RecoChargedRefCandidate > > input_chrefcand_token_
for CMSBoostedTauSeedingAlgorithm : max depth for descending into clustering sequence ...
double csRho_EtaMax_
for pruning: constituent dR * pt/2m &lt; rcut_factor
double muMax_
for CMSBoostedTauSeedingAlgorithm : min mass-drop
double muCut_
Soft drop.
double rFiltFactor_
for dynamic filtering radius (as in arXiv:0802.2470)
DynamicRfiltPtr rFiltDynamic_
for filtering, trimming: dR scale of sub-clustering
double dRMin_
for CMSBoostedTauSeedingAlgorithm : max asymmetry
boost::shared_ptr< DynamicRfilt > DynamicRfiltPtr
double beta_
for constituent subtraction : R parameter for KT alg in jet median background estimator ...
double zCut_
for trimming: constituent minimum pt fraction of full jet
int nFilt_
for dynamic filtering radius (as in arXiv:0802.2470)
int maxDepth_
for CMSBoostedTauSeedingAlgorithm : max dR
double R0_
for soft drop : beta (angular exponent)
double yCut_
for mass-drop tagging, m0/mjet (m0 = mass of highest mass subjet)
VirtualJetProducer(const edm::ParameterSet &iConfig)
bool useConstituentSubtraction_
Use Kt clustering algorithm for pruning (default is Cambridge/Aachen)
AreaDefinitionPtr fjAreaDefinition_
FastjetJetProducer::~FastjetJetProducer ( )
virtual

Definition at line 223 of file FastjetJetProducer.cc.

224 {
225 }

Member Function Documentation

void FastjetJetProducer::produce ( edm::Event iEvent,
const edm::EventSetup iSetup 
)
virtual

Reimplemented from VirtualJetProducer.

Reimplemented in cms::CATopJetProducer.

Definition at line 232 of file FastjetJetProducer.cc.

References VirtualJetProducer::fjClusterSeq_, VirtualJetProducer::jetTypeE, VirtualJetProducer::makeTrackJet(), VirtualJetProducer::produce(), and produceTrackJets().

Referenced by cms::CATopJetProducer::produce().

233 {
234 
235  // for everything but track jets
236  if (!makeTrackJet(jetTypeE)) {
237 
238  // use the default production from one collection
239  VirtualJetProducer::produce( iEvent, iSetup );
240 
241  } else { // produce trackjets from tracks grouped per primary vertex
242 
243  produceTrackJets(iEvent, iSetup);
244 
245  }
246 
247  // fjClusterSeq_ retains quite a lot of memory - about 1 to 7Mb at 200 pileup
248  // depending on the exact configuration; and there are 24 FastjetJetProducers in the
249  // sequence so this adds up to about 60 Mb. It's allocated every time runAlgorithm
250  // is called, so safe to delete here.
251  fjClusterSeq_.reset();
252 }
JetType::Type jetTypeE
bool makeTrackJet(const JetType::Type &fTag)
ClusterSequencePtr fjClusterSeq_
virtual void produceTrackJets(edm::Event &iEvent, const edm::EventSetup &iSetup)
virtual void produce(edm::Event &iEvent, const edm::EventSetup &iSetup) override
void FastjetJetProducer::produceTrackJets ( edm::Event iEvent,
const edm::EventSetup iSetup 
)
protectedvirtual

Definition at line 255 of file FastjetJetProducer.cc.

References dxyTrVtxMax_, dzTrVtxMax_, VirtualJetProducer::fjClusterSeq_, VirtualJetProducer::fjInputs_, VirtualJetProducer::fjJets_, newFWLiteAna::found, edm::Event::getByToken(), VirtualJetProducer::getConstituents(), i, input_chrefcand_token_, VirtualJetProducer::input_vertex_token_, VirtualJetProducer::inputs_, VirtualJetProducer::inputTowers(), metsig::jet, fwrapper::jets, LogDebug, maxVtxZ_, minVtxNdof_, edm::Event::put(), runAlgorithm(), reco::Jet::setJetArea(), reco::Jet::setPileup(), reco::TrackJet::setPrimaryVertex(), reco::LeafCandidate::setVertex(), swap(), useOnlyOnePV_, useOnlyVertexTracks_, VirtualJetProducer::vertex_, and reco::writeSpecific().

Referenced by produce().

256 {
257 
258  // read in the track candidates
260  iEvent.getByToken(input_chrefcand_token_, inputsHandle);
261 
262  // make collection with pointers so we can play around with it
263  std::vector<edm::Ptr<reco::RecoChargedRefCandidate> > allInputs;
264  std::vector<edm::Ptr<reco::Candidate> > origInputs;
265  for (size_t i = 0; i < inputsHandle->size(); ++i) {
266  allInputs.push_back(inputsHandle->ptrAt(i));
267  origInputs.push_back(inputsHandle->ptrAt(i));
268  }
269 
270  // read in the PV collection
272  iEvent.getByToken(input_vertex_token_, pvCollection);
273  // define the overall output jet container
274  std::auto_ptr<std::vector<reco::TrackJet> > jets(new std::vector<reco::TrackJet>() );
275 
276  // loop over the good vertices, clustering for each vertex separately
277  for (reco::VertexCollection::const_iterator itVtx = pvCollection->begin(); itVtx != pvCollection->end(); ++itVtx) {
278  if (itVtx->isFake() || itVtx->ndof() < minVtxNdof_ || fabs(itVtx->z()) > maxVtxZ_) continue;
279 
280  // clear the intermediate containers
281  inputs_.clear();
282  fjInputs_.clear();
283  fjJets_.clear();
284 
285  // if only vertex-associated tracks should be used
286  if (useOnlyVertexTracks_) {
287  // loop over the tracks associated to the vertex
288  for (reco::Vertex::trackRef_iterator itTr = itVtx->tracks_begin(); itTr != itVtx->tracks_end(); ++itTr) {
289  // whether a match was found in the track candidate input
290  bool found = false;
291  // loop over input track candidates
292  for (std::vector<edm::Ptr<reco::RecoChargedRefCandidate> >::iterator itIn = allInputs.begin(); itIn != allInputs.end(); ++itIn) {
293  // match the input track candidate to the track from the vertex
294  reco::TrackRef trref(itTr->castTo<reco::TrackRef>());
295  // check if the tracks match
296  if ((*itIn)->track() == trref) {
297  found = true;
298  // add this track candidate to the input for clustering
299  inputs_.push_back(*itIn);
300  // erase the track candidate from the total list of input, so we don't reuse it later
301  allInputs.erase(itIn);
302  // found the candidate track corresponding to the vertex track, so stop the loop
303  break;
304  } // end if match found
305  } // end loop over input tracks
306  // give an info message in case no match is found (can happen if candidates are subset of tracks used for clustering)
307  if (!found) edm::LogInfo("FastjetTrackJetProducer") << "Ignoring a track at vertex which is not in input track collection!";
308  } // end loop over tracks associated to vertex
309  // if all inpt track candidates should be used
310  } else {
311  // loop over input track candidates
312  for (std::vector<edm::Ptr<reco::RecoChargedRefCandidate> >::iterator itIn = allInputs.begin(); itIn != allInputs.end(); ++itIn) {
313  // check if the track is close enough to the vertex
314  float dz = (*itIn)->track()->dz(itVtx->position());
315  float dxy = (*itIn)->track()->dxy(itVtx->position());
316  if (fabs(dz) > dzTrVtxMax_) continue;
317  if (fabs(dxy) > dxyTrVtxMax_) continue;
318  bool closervtx = false;
319  // now loop over the good vertices a second time
320  for (reco::VertexCollection::const_iterator itVtx2 = pvCollection->begin(); itVtx2 != pvCollection->end(); ++itVtx2) {
321  if (itVtx->isFake() || itVtx->ndof() < minVtxNdof_ || fabs(itVtx->z()) > maxVtxZ_) continue;
322  // and check this track is closer to any other vertex (if more than 1 vertex considered)
323  if (!useOnlyOnePV_ &&
324  itVtx != itVtx2 &&
325  fabs((*itIn)->track()->dz(itVtx2->position())) < fabs(dz)) {
326  closervtx = true;
327  break; // 1 closer vertex makes the track already not matched, so break
328  }
329  }
330  // don't add this track if another vertex is found closer
331  if (closervtx) continue;
332  // add this track candidate to the input for clustering
333  inputs_.push_back(*itIn);
334  // erase the track candidate from the total list of input, so we don't reuse it later
335  allInputs.erase(itIn);
336  // take a step back in the loop since we just erased
337  --itIn;
338  }
339  }
340 
341  // convert candidates in inputs_ to fastjet::PseudoJets in fjInputs_
342  fjInputs_.reserve(inputs_.size());
343  inputTowers();
344  LogDebug("FastjetTrackJetProducer") << "Inputted towers\n";
345 
346  // run algorithm, using fjInputs_, modifying fjJets_ and allocating fjClusterSeq_
347  runAlgorithm(iEvent, iSetup);
348  LogDebug("FastjetTrackJetProducer") << "Ran algorithm\n";
349 
350  // convert our jets and add to the overall jet vector
351  for (unsigned int ijet=0;ijet<fjJets_.size();++ijet) {
352  // get the constituents from fastjet
353  std::vector<fastjet::PseudoJet> fjConstituents = sorted_by_pt(fjClusterSeq_->constituents(fjJets_[ijet]));
354  // convert them to CandidatePtr vector
355  std::vector<reco::CandidatePtr> constituents = getConstituents(fjConstituents);
356  // fill the trackjet
358  // write the specifics to the jet (simultaneously sets 4-vector, vertex).
359  writeSpecific( jet,
360  reco::Particle::LorentzVector(fjJets_[ijet].px(), fjJets_[ijet].py(), fjJets_[ijet].pz(), fjJets_[ijet].E()),
361  vertex_, constituents, iSetup);
362  jet.setJetArea(0);
363  jet.setPileup(0);
364  jet.setPrimaryVertex(edm::Ref<reco::VertexCollection>(pvCollection, (int) (itVtx-pvCollection->begin())));
365  jet.setVertex(itVtx->position());
366  jets->push_back(jet);
367  }
368 
369  if (useOnlyOnePV_) break; // stop vertex loop if only one vertex asked for
370  } // end loop over vertices
371 
372  // put the jets in the collection
373  LogDebug("FastjetTrackJetProducer") << "Put " << jets->size() << " jets in the event.\n";
374  iEvent.put(jets);
375 
376  // Clear the work vectors so that memory is free for other modules.
377  // Use the trick of swapping with an empty vector so that the memory
378  // is actually given back rather than silently kept.
379  decltype(fjInputs_)().swap(fjInputs_);
380  decltype(fjJets_)().swap(fjJets_);
381  decltype(inputs_)().swap(inputs_);
382 }
#define LogDebug(id)
void swap(ora::Record &rh, ora::Record &lh)
Definition: Record.h:70
int i
Definition: DBlmapReader.cc:9
reco::Particle::Point vertex_
virtual std::vector< reco::CandidatePtr > getConstituents(const std::vector< fastjet::PseudoJet > &fjConstituents)
std::vector< fastjet::PseudoJet > fjJets_
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Definition: Event.h:457
virtual void setPileup(float fEnergy)
Set pileup energy contribution as calculated by algorithm.
Definition: Jet.h:108
virtual void inputTowers()
virtual void runAlgorithm(edm::Event &iEvent, const edm::EventSetup &iSetup)
virtual void setJetArea(float fArea)
set jet area
Definition: Jet.h:103
std::vector< fastjet::PseudoJet > fjInputs_
std::vector< edm::Ptr< reco::Candidate > > inputs_
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
Definition: Event.h:115
ClusterSequencePtr fjClusterSeq_
vector< PseudoJet > jets
edm::EDGetTokenT< edm::View< reco::RecoChargedRefCandidate > > input_chrefcand_token_
for CMSBoostedTauSeedingAlgorithm : max depth for descending into clustering sequence ...
void setPrimaryVertex(const reco::VertexRef &vtx)
set associated primary vertex
Definition: TrackJet.cc:80
virtual void setVertex(const Point &vertex)
set vertex
Jets made out of tracks.
Definition: TrackJet.h:27
edm::EDGetTokenT< reco::VertexCollection > input_vertex_token_
std::vector< TrackBaseRef >::const_iterator trackRef_iterator
The iteratator for the vector&lt;TrackRef&gt;
Definition: Vertex.h:37
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition: Particle.h:21
void writeSpecific(reco::CaloJet &jet, reco::Particle::LorentzVector const &p4, reco::Particle::Point const &point, std::vector< reco::CandidatePtr > const &constituents, edm::EventSetup const &c)
Definition: JetSpecific.cc:41
void FastjetJetProducer::runAlgorithm ( edm::Event iEvent,
const edm::EventSetup iSetup 
)
protectedvirtual

Implements VirtualJetProducer.

Reimplemented in cms::CATopJetProducer.

Definition at line 386 of file FastjetJetProducer.cc.

References beta_, csRho_EtaMax_, csRParam_, VirtualJetProducer::doAreaFastjet_, VirtualJetProducer::doRhoFastjet_, dRMax_, dRMin_, Filter_cff::Filter, alcazmumu_cfi::filter, VirtualJetProducer::fjAreaDefinition_, VirtualJetProducer::fjClusterSeq_, VirtualJetProducer::fjInputs_, VirtualJetProducer::fjJetDefinition_, VirtualJetProducer::fjJets_, VirtualJetProducer::jetPtMin_, maxDepth_, muCut_, muMax_, muMin_, nFilt_, R0_, RcutFactor_, rFilt_, rFiltDynamic_, sd, subjetPtMin_, trimPtFracMin_, useCMSBoostedTauSeedingAlgorithm_, useConstituentSubtraction_, useDynamicFiltering_, useFiltering_, useKtPruning_, useMassDropTagger_, usePruning_, useSoftDrop_, useTrimming_, VirtualJetProducer::verbosity_, VirtualJetProducer::voronoiRfact_, yCut_, yMax_, yMin_, and zCut_.

Referenced by produceTrackJets().

387 {
388  // run algorithm
389  /*
390  fjInputs_.clear();
391  double px, py , pz, E;
392  string line;
393  std::ifstream fin("dump3.txt");
394  while (getline(fin, line)){
395  if (line == "#END") break;
396  if (line.substr(0,1) == "#") {continue;}
397  istringstream istr(line);
398  istr >> px >> py >> pz >> E;
399  // create a fastjet::PseudoJet with these components and put it onto
400  // back of the input_particles vector
401  fastjet::PseudoJet j(px,py,pz,E);
402  //if ( fabs(j.rap()) < inputEtaMax )
403  fjInputs_.push_back(fastjet::PseudoJet(px,py,pz,E));
404  }
405  fin.close();
406  */
407 
408  if ( !doAreaFastjet_ && !doRhoFastjet_) {
409  fjClusterSeq_ = ClusterSequencePtr( new fastjet::ClusterSequence( fjInputs_, *fjJetDefinition_ ) );
410  } else if (voronoiRfact_ <= 0) {
411  fjClusterSeq_ = ClusterSequencePtr( new fastjet::ClusterSequenceArea( fjInputs_, *fjJetDefinition_ , *fjAreaDefinition_ ) );
412  } else {
413  fjClusterSeq_ = ClusterSequencePtr( new fastjet::ClusterSequenceVoronoiArea( fjInputs_, *fjJetDefinition_ , fastjet::VoronoiAreaSpec(voronoiRfact_) ) );
414  }
415 
417  fjJets_ = fastjet::sorted_by_pt(fjClusterSeq_->inclusive_jets(jetPtMin_));
418  } else {
419  fjJets_.clear();
420 
421 
422  transformer_coll transformers;
423 
424 
425  std::vector<fastjet::PseudoJet> tempJets = fastjet::sorted_by_pt(fjClusterSeq_->inclusive_jets(jetPtMin_));
426 
427  unique_ptr<fastjet::JetMedianBackgroundEstimator> bge_rho;
429  fastjet::Selector rho_range = fastjet::SelectorAbsRapMax(csRho_EtaMax_);
430  bge_rho = unique_ptr<fastjet::JetMedianBackgroundEstimator> (new fastjet::JetMedianBackgroundEstimator(rho_range, fastjet::JetDefinition(fastjet::kt_algorithm, csRParam_), *fjAreaDefinition_) );
431  bge_rho->set_particles(fjInputs_);
432  fastjet::contrib::ConstituentSubtractor * constituentSubtractor = new fastjet::contrib::ConstituentSubtractor(bge_rho.get());
433  // this sets the same background estimator to be used for deltaMass density, rho_m, as for pt density, rho:
434  constituentSubtractor->use_common_bge_for_rho_and_rhom(true); // for massless input particles it does not make any difference (rho_m is always zero)
435 
436  transformers.push_back( transformer_ptr(constituentSubtractor) );
437  };
438  if ( useMassDropTagger_ ) {
439  fastjet::MassDropTagger * md_tagger = new fastjet::MassDropTagger ( muCut_, yCut_ );
440  transformers.push_back( transformer_ptr(md_tagger) );
441  }
443  fastjet::contrib::CMSBoostedTauSeedingAlgorithm * tau_tagger =
444  new fastjet::contrib::CMSBoostedTauSeedingAlgorithm ( subjetPtMin_, muMin_, muMax_, yMin_, yMax_, dRMin_, dRMax_, maxDepth_, verbosity_ );
445  transformers.push_back( transformer_ptr(tau_tagger ));
446  }
447  if ( useTrimming_ ) {
448  fastjet::Filter * trimmer = new fastjet::Filter(fastjet::JetDefinition(fastjet::kt_algorithm, rFilt_), fastjet::SelectorPtFractionMin(trimPtFracMin_));
449  transformers.push_back( transformer_ptr(trimmer) );
450  }
451  if ( (useFiltering_) && (!useDynamicFiltering_) ) {
452  fastjet::Filter * filter = new fastjet::Filter(fastjet::JetDefinition(fastjet::cambridge_algorithm, rFilt_), fastjet::SelectorNHardest(nFilt_));
453  transformers.push_back( transformer_ptr(filter));
454  }
455 
456  if ( (usePruning_) && (!useKtPruning_) ) {
457  fastjet::Pruner * pruner = new fastjet::Pruner(fastjet::cambridge_algorithm, zCut_, RcutFactor_);
458  transformers.push_back( transformer_ptr(pruner ));
459  }
460 
461  if ( useDynamicFiltering_ ){
462  fastjet::Filter * filter = new fastjet::Filter( fastjet::Filter(&*rFiltDynamic_, fastjet::SelectorNHardest(nFilt_)));
463  transformers.push_back( transformer_ptr(filter));
464  }
465 
466  if ( useKtPruning_ ) {
467  fastjet::Pruner * pruner = new fastjet::Pruner(fastjet::kt_algorithm, zCut_, RcutFactor_);
468  transformers.push_back( transformer_ptr(pruner ));
469  }
470 
471  if ( useSoftDrop_ ) {
472  fastjet::contrib::SoftDrop * sd = new fastjet::contrib::SoftDrop(beta_, zCut_, R0_ );
473  transformers.push_back( transformer_ptr(sd) );
474  }
475 
476 
477  for ( std::vector<fastjet::PseudoJet>::const_iterator ijet = tempJets.begin(),
478  ijetEnd = tempJets.end(); ijet != ijetEnd; ++ijet ) {
479 
480  fastjet::PseudoJet transformedJet = *ijet;
481  bool passed = true;
482  for ( transformer_coll::const_iterator itransf = transformers.begin(),
483  itransfEnd = transformers.end(); itransf != itransfEnd; ++itransf ) {
484  if ( transformedJet != 0 ) {
485  transformedJet = (**itransf)(transformedJet);
486  } else {
487  passed=false;
488  }
489  }
490 
491  if ( passed ) {
492  fjJets_.push_back( transformedJet );
493  }
494  }
495  }
496 
497 }
double muMin_
for CMSBoostedTauSeedingAlgorithm : subjet pt min
double yMin_
for CMSBoostedTauSeedingAlgorithm : max mass-drop
bool useFiltering_
Mass-drop tagging for boosted Higgs.
double rFilt_
for mass-drop tagging, symmetry cut: min(pt1^2,pt2^2) * dR(1,2) / mjet &gt; ycut
tuple Filter
Definition: Filter_cff.py:5
double dRMax_
for CMSBoostedTauSeedingAlgorithm : min dR
double subjetPtMin_
for soft drop : R0 (angular distance normalization - should be set to jet radius in most cases) ...
std::vector< fastjet::PseudoJet > fjJets_
bool useDynamicFiltering_
Jet filtering technique.
double RcutFactor_
for pruning OR soft drop: constituent minimum pt fraction of parent cluster
bool useSoftDrop_
constituent subtraction technique
double yMax_
for CMSBoostedTauSeedingAlgorithm : min asymmetry
bool useKtPruning_
algorithm for seeding reconstruction of boosted Taus (similar to mass-drop tagging) ...
bool useTrimming_
Use dynamic filtering radius (as in arXiv:0802.2470)
double csRParam_
for constituent subtraction : maximum rapidity for ghosts
std::vector< fastjet::PseudoJet > fjInputs_
std::vector< transformer_ptr > transformer_coll
double trimPtFracMin_
for filtering, pruning: number of subjets expected
bool usePruning_
Jet trimming technique.
bool useCMSBoostedTauSeedingAlgorithm_
Jet pruning technique.
ClusterSequencePtr fjClusterSeq_
double csRho_EtaMax_
for pruning: constituent dR * pt/2m &lt; rcut_factor
double muMax_
for CMSBoostedTauSeedingAlgorithm : min mass-drop
double muCut_
Soft drop.
DynamicRfiltPtr rFiltDynamic_
for filtering, trimming: dR scale of sub-clustering
double dRMin_
for CMSBoostedTauSeedingAlgorithm : max asymmetry
double beta_
for constituent subtraction : R parameter for KT alg in jet median background estimator ...
double zCut_
for trimming: constituent minimum pt fraction of full jet
int nFilt_
for dynamic filtering radius (as in arXiv:0802.2470)
int maxDepth_
for CMSBoostedTauSeedingAlgorithm : max dR
double sd
double R0_
for soft drop : beta (angular exponent)
std::unique_ptr< transformer > transformer_ptr
double yCut_
for mass-drop tagging, m0/mjet (m0 = mass of highest mass subjet)
bool useConstituentSubtraction_
Use Kt clustering algorithm for pruning (default is Cambridge/Aachen)
AreaDefinitionPtr fjAreaDefinition_
boost::shared_ptr< fastjet::ClusterSequence > ClusterSequencePtr

Member Data Documentation

double FastjetJetProducer::beta_
private

for constituent subtraction : R parameter for KT alg in jet median background estimator

Definition at line 98 of file FastjetJetProducer.h.

Referenced by FastjetJetProducer(), and runAlgorithm().

double FastjetJetProducer::csRho_EtaMax_
private

for pruning: constituent dR * pt/2m < rcut_factor

Definition at line 96 of file FastjetJetProducer.h.

Referenced by FastjetJetProducer(), and runAlgorithm().

double FastjetJetProducer::csRParam_
private

for constituent subtraction : maximum rapidity for ghosts

Definition at line 97 of file FastjetJetProducer.h.

Referenced by FastjetJetProducer(), and runAlgorithm().

double FastjetJetProducer::dRMax_
private

for CMSBoostedTauSeedingAlgorithm : min dR

Definition at line 108 of file FastjetJetProducer.h.

Referenced by FastjetJetProducer(), and runAlgorithm().

double FastjetJetProducer::dRMin_
private

for CMSBoostedTauSeedingAlgorithm : max asymmetry

Definition at line 107 of file FastjetJetProducer.h.

Referenced by FastjetJetProducer(), and runAlgorithm().

float FastjetJetProducer::dxyTrVtxMax_
private

Definition at line 73 of file FastjetJetProducer.h.

Referenced by FastjetJetProducer(), and produceTrackJets().

float FastjetJetProducer::dzTrVtxMax_
private

Definition at line 72 of file FastjetJetProducer.h.

Referenced by FastjetJetProducer(), and produceTrackJets().

edm::EDGetTokenT<edm::View<reco::RecoChargedRefCandidate> > FastjetJetProducer::input_chrefcand_token_
private

for CMSBoostedTauSeedingAlgorithm : max depth for descending into clustering sequence

Definition at line 113 of file FastjetJetProducer.h.

Referenced by FastjetJetProducer(), and produceTrackJets().

int FastjetJetProducer::maxDepth_
private

for CMSBoostedTauSeedingAlgorithm : max dR

Definition at line 109 of file FastjetJetProducer.h.

Referenced by FastjetJetProducer(), and runAlgorithm().

float FastjetJetProducer::maxVtxZ_
private

Definition at line 75 of file FastjetJetProducer.h.

Referenced by FastjetJetProducer(), and produceTrackJets().

int FastjetJetProducer::minVtxNdof_
private

Definition at line 74 of file FastjetJetProducer.h.

Referenced by FastjetJetProducer(), and produceTrackJets().

double FastjetJetProducer::muCut_
private

Soft drop.

Definition at line 87 of file FastjetJetProducer.h.

Referenced by FastjetJetProducer(), and runAlgorithm().

double FastjetJetProducer::muMax_
private

for CMSBoostedTauSeedingAlgorithm : min mass-drop

Definition at line 104 of file FastjetJetProducer.h.

Referenced by FastjetJetProducer(), and runAlgorithm().

double FastjetJetProducer::muMin_
private

for CMSBoostedTauSeedingAlgorithm : subjet pt min

Definition at line 103 of file FastjetJetProducer.h.

Referenced by FastjetJetProducer(), and runAlgorithm().

int FastjetJetProducer::nFilt_
private

for dynamic filtering radius (as in arXiv:0802.2470)

Definition at line 92 of file FastjetJetProducer.h.

Referenced by FastjetJetProducer(), and runAlgorithm().

double FastjetJetProducer::R0_
private

for soft drop : beta (angular exponent)

Definition at line 99 of file FastjetJetProducer.h.

Referenced by FastjetJetProducer(), and runAlgorithm().

double FastjetJetProducer::RcutFactor_
private

for pruning OR soft drop: constituent minimum pt fraction of parent cluster

Definition at line 95 of file FastjetJetProducer.h.

Referenced by FastjetJetProducer(), and runAlgorithm().

double FastjetJetProducer::rFilt_
private

for mass-drop tagging, symmetry cut: min(pt1^2,pt2^2) * dR(1,2) / mjet > ycut

Definition at line 89 of file FastjetJetProducer.h.

Referenced by FastjetJetProducer(), and runAlgorithm().

DynamicRfiltPtr FastjetJetProducer::rFiltDynamic_
private

for filtering, trimming: dR scale of sub-clustering

Definition at line 90 of file FastjetJetProducer.h.

Referenced by FastjetJetProducer(), and runAlgorithm().

double FastjetJetProducer::rFiltFactor_
private

for dynamic filtering radius (as in arXiv:0802.2470)

Definition at line 91 of file FastjetJetProducer.h.

Referenced by FastjetJetProducer().

double FastjetJetProducer::subjetPtMin_
private

for soft drop : R0 (angular distance normalization - should be set to jet radius in most cases)

Definition at line 102 of file FastjetJetProducer.h.

Referenced by FastjetJetProducer(), and runAlgorithm().

double FastjetJetProducer::trimPtFracMin_
private

for filtering, pruning: number of subjets expected

Definition at line 93 of file FastjetJetProducer.h.

Referenced by FastjetJetProducer(), and runAlgorithm().

bool FastjetJetProducer::useCMSBoostedTauSeedingAlgorithm_
private

Jet pruning technique.

Definition at line 83 of file FastjetJetProducer.h.

Referenced by FastjetJetProducer(), and runAlgorithm().

bool FastjetJetProducer::useConstituentSubtraction_
private

Use Kt clustering algorithm for pruning (default is Cambridge/Aachen)

Definition at line 85 of file FastjetJetProducer.h.

Referenced by FastjetJetProducer(), and runAlgorithm().

bool FastjetJetProducer::useDynamicFiltering_
private

Jet filtering technique.

Definition at line 80 of file FastjetJetProducer.h.

Referenced by FastjetJetProducer(), and runAlgorithm().

bool FastjetJetProducer::useFiltering_
private

Mass-drop tagging for boosted Higgs.

Definition at line 79 of file FastjetJetProducer.h.

Referenced by FastjetJetProducer(), and runAlgorithm().

bool FastjetJetProducer::useKtPruning_
private

algorithm for seeding reconstruction of boosted Taus (similar to mass-drop tagging)

Definition at line 84 of file FastjetJetProducer.h.

Referenced by FastjetJetProducer(), and runAlgorithm().

bool FastjetJetProducer::useMassDropTagger_
private

Definition at line 78 of file FastjetJetProducer.h.

Referenced by FastjetJetProducer(), and runAlgorithm().

bool FastjetJetProducer::useOnlyOnePV_
private

Definition at line 71 of file FastjetJetProducer.h.

Referenced by FastjetJetProducer(), and produceTrackJets().

bool FastjetJetProducer::useOnlyVertexTracks_
private

Definition at line 70 of file FastjetJetProducer.h.

Referenced by FastjetJetProducer(), and produceTrackJets().

bool FastjetJetProducer::usePruning_
private

Jet trimming technique.

Definition at line 82 of file FastjetJetProducer.h.

Referenced by FastjetJetProducer(), and runAlgorithm().

bool FastjetJetProducer::useSoftDrop_
private

constituent subtraction technique

Definition at line 86 of file FastjetJetProducer.h.

Referenced by FastjetJetProducer(), and runAlgorithm().

bool FastjetJetProducer::useTrimming_
private

Use dynamic filtering radius (as in arXiv:0802.2470)

Definition at line 81 of file FastjetJetProducer.h.

Referenced by FastjetJetProducer(), and runAlgorithm().

double FastjetJetProducer::yCut_
private

for mass-drop tagging, m0/mjet (m0 = mass of highest mass subjet)

Definition at line 88 of file FastjetJetProducer.h.

Referenced by FastjetJetProducer(), and runAlgorithm().

double FastjetJetProducer::yMax_
private

for CMSBoostedTauSeedingAlgorithm : min asymmetry

Definition at line 106 of file FastjetJetProducer.h.

Referenced by FastjetJetProducer(), and runAlgorithm().

double FastjetJetProducer::yMin_
private

for CMSBoostedTauSeedingAlgorithm : max mass-drop

Definition at line 105 of file FastjetJetProducer.h.

Referenced by FastjetJetProducer(), and runAlgorithm().

double FastjetJetProducer::zCut_
private

for trimming: constituent minimum pt fraction of full jet

Definition at line 94 of file FastjetJetProducer.h.

Referenced by FastjetJetProducer(), and runAlgorithm().