test
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...
 
bool correctShape_
 Soft drop. 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_
 
double gridMaxRapidity_
 for soft drop : R0 (angular distance normalization - should be set to jet radius in most cases) More...
 
double gridSpacing_
 for shape subtraction, get the fixed-grid rho More...
 
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_
 Correct the shape of the jets. 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 shape subtraction, get the grid spacing 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 59 of file FastjetJetProducer.cc.

References beta_, correctShape_, csRho_EtaMax_, csRParam_, dRMax_, dRMin_, dxyTrVtxMax_, dzTrVtxMax_, Exception, edm::ParameterSet::exists(), VirtualJetProducer::fjAreaDefinition_, edm::ParameterSet::getParameter(), gridMaxRapidity_, gridSpacing_, 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_.

60  : VirtualJetProducer( iConfig ),
61  useMassDropTagger_(false),
62  useFiltering_(false),
63  useDynamicFiltering_(false),
64  useTrimming_(false),
65  usePruning_(false),
67  useKtPruning_(false),
69  useSoftDrop_(false),
70  correctShape_(false),
71  muCut_(-1.0),
72  yCut_(-1.0),
73  rFilt_(-1.0),
74  rFiltFactor_(-1.0),
75  nFilt_(-1),
76  trimPtFracMin_(-1.0),
77  zCut_(-1.0),
78  RcutFactor_(-1.0),
79  csRho_EtaMax_(-1.0),
80  csRParam_(-1.0),
81  beta_(-1.0),
82  R0_(-1.0),
83  gridMaxRapidity_(-1.0), // For fixed-grid rho
84  gridSpacing_(-1.0) // For fixed-grid rho
85 {
86 
87  if ( iConfig.exists("UseOnlyVertexTracks") )
88  useOnlyVertexTracks_ = iConfig.getParameter<bool>("UseOnlyVertexTracks");
89  else
90  useOnlyVertexTracks_ = false;
91 
92  if ( iConfig.exists("UseOnlyOnePV") )
93  useOnlyOnePV_ = iConfig.getParameter<bool>("UseOnlyOnePV");
94  else
95  useOnlyOnePV_ = false;
96 
97  if ( iConfig.exists("DzTrVtxMax") )
98  dzTrVtxMax_ = iConfig.getParameter<double>("DzTrVtxMax");
99  else
100  dzTrVtxMax_ = 999999.;
101  if ( iConfig.exists("DxyTrVtxMax") )
102  dxyTrVtxMax_ = iConfig.getParameter<double>("DxyTrVtxMax");
103  else
104  dxyTrVtxMax_ = 999999.;
105  if ( iConfig.exists("MinVtxNdof") )
106  minVtxNdof_ = iConfig.getParameter<int>("MinVtxNdof");
107  else
108  minVtxNdof_ = 5;
109  if ( iConfig.exists("MaxVtxZ") )
110  maxVtxZ_ = iConfig.getParameter<double>("MaxVtxZ");
111  else
112  maxVtxZ_ = 15;
113 
114 
115  if ( iConfig.exists("useFiltering") ||
116  iConfig.exists("useTrimming") ||
117  iConfig.exists("usePruning") ||
118  iConfig.exists("useMassDropTagger") ||
119  iConfig.exists("useCMSBoostedTauSeedingAlgorithm") ||
120  iConfig.exists("useConstituentSubtraction") ||
121  iConfig.exists("useSoftDrop")
122  ) {
123  useMassDropTagger_=false;
124  useFiltering_=false;
125  useDynamicFiltering_=false;
126  useTrimming_=false;
127  usePruning_=false;
129  useKtPruning_=false;
131  useSoftDrop_ = false;
132  rFilt_=-1.0;
133  rFiltFactor_=-1.0;
134  nFilt_=-1;
135  trimPtFracMin_=-1.0;
136  zCut_=-1.0;
137  RcutFactor_=-1.0;
138  muCut_=-1.0;
139  yCut_=-1.0;
140  subjetPtMin_ = -1.0;
141  muMin_ = -1.0;
142  muMax_ = -1.0;
143  yMin_ = -1.0;
144  yMax_ = -1.0;
145  dRMin_ = -1.0;
146  dRMax_ = -1.0;
147  maxDepth_ = -1;
148  csRho_EtaMax_ = -1.0;
149  csRParam_ = -1.0;
150  beta_ = -1.0;
151  R0_ = -1.0;
152  useExplicitGhosts_ = true;
153 
154  if ( iConfig.exists("useMassDropTagger") ) {
155  useMassDropTagger_ = iConfig.getParameter<bool>("useMassDropTagger");
156  muCut_ = iConfig.getParameter<double>("muCut");
157  yCut_ = iConfig.getParameter<double>("yCut");
158  }
159 
160  if ( iConfig.exists("useFiltering") ) {
161  useFiltering_ = iConfig.getParameter<bool>("useFiltering");
162  rFilt_ = iConfig.getParameter<double>("rFilt");
163  nFilt_ = iConfig.getParameter<int>("nFilt");
164  if ( iConfig.exists("useDynamicFiltering") ) {
165  useDynamicFiltering_ = iConfig.getParameter<bool>("useDynamicFiltering");
166  rFiltFactor_ = iConfig.getParameter<double>("rFiltFactor");
167  if ( useDynamicFiltering_ )
168  rFiltDynamic_ = DynamicRfiltPtr(new DynamicRfilt(rFilt_, rFiltFactor_));
169  }
170  }
171 
172  if ( iConfig.exists("useTrimming") ) {
173  useTrimming_ = iConfig.getParameter<bool>("useTrimming");
174  rFilt_ = iConfig.getParameter<double>("rFilt");
175  trimPtFracMin_ = iConfig.getParameter<double>("trimPtFracMin");
176  }
177 
178  if ( iConfig.exists("usePruning") ) {
179  usePruning_ = iConfig.getParameter<bool>("usePruning");
180  zCut_ = iConfig.getParameter<double>("zcut");
181  RcutFactor_ = iConfig.getParameter<double>("rcut_factor");
182  nFilt_ = iConfig.getParameter<int>("nFilt");
183  if ( iConfig.exists("useKtPruning") )
184  useKtPruning_ = iConfig.getParameter<bool>("useKtPruning");
185  }
186 
187  if ( iConfig.exists("useCMSBoostedTauSeedingAlgorithm") ) {
188  useCMSBoostedTauSeedingAlgorithm_ = iConfig.getParameter<bool>("useCMSBoostedTauSeedingAlgorithm");
189  subjetPtMin_ = iConfig.getParameter<double>("subjetPtMin");
190  muMin_ = iConfig.getParameter<double>("muMin");
191  muMax_ = iConfig.getParameter<double>("muMax");
192  yMin_ = iConfig.getParameter<double>("yMin");
193  yMax_ = iConfig.getParameter<double>("yMax");
194  dRMin_ = iConfig.getParameter<double>("dRMin");
195  dRMax_ = iConfig.getParameter<double>("dRMax");
196  maxDepth_ = iConfig.getParameter<int>("maxDepth");
197  }
198 
199  if ( iConfig.exists("useConstituentSubtraction") ) {
200 
201  if ( fjAreaDefinition_.get() == 0 ) {
202  throw cms::Exception("AreaMustBeSet") << "Logic error. The area definition must be set if you use constituent subtraction." << std::endl;
203  }
204 
205  useConstituentSubtraction_ = iConfig.getParameter<bool>("useConstituentSubtraction");
206  csRho_EtaMax_ = iConfig.getParameter<double>("csRho_EtaMax");
207  csRParam_ = iConfig.getParameter<double>("csRParam");
208  }
209 
210  if ( iConfig.exists("useSoftDrop") ) {
211  if ( usePruning_ ) {
212  throw cms::Exception("PruningAndSoftDrop") << "Logic error. Soft drop is a generalized pruning, do not run them together." << std::endl;
213  }
214  useSoftDrop_ = iConfig.getParameter<bool>("useSoftDrop");
215  zCut_ = iConfig.getParameter<double>("zcut");
216  beta_ = iConfig.getParameter<double>("beta");
217  R0_ = iConfig.getParameter<double>("R0");
218  }
219 
220  }
221 
222  if ( iConfig.exists("correctShape") ) {
223  correctShape_ = iConfig.getParameter<bool>("correctShape");
224  gridMaxRapidity_ = iConfig.getParameter<double>("gridMaxRapidity");
225  gridSpacing_ = iConfig.getParameter<double>("gridSpacing");
226  useExplicitGhosts_ = true;
227  }
228 
229  input_chrefcand_token_ = consumes<edm::View<reco::RecoChargedRefCandidate> >(src_);
230 
231 }
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.
bool correctShape_
Soft drop.
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 shape subtraction, get the grid spacing
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
double gridSpacing_
for shape subtraction, get the fixed-grid rho
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
double gridMaxRapidity_
for soft drop : R0 (angular distance normalization - should be set to jet radius in most cases) ...
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_
Correct the shape of the jets.
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 235 of file FastjetJetProducer.cc.

236 {
237 }

Member Function Documentation

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

Reimplemented from VirtualJetProducer.

Reimplemented in cms::CATopJetProducer.

Definition at line 244 of file FastjetJetProducer.cc.

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

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

245 {
246 
247  // for everything but track jets
248  if (!makeTrackJet(jetTypeE)) {
249 
250  // use the default production from one collection
251  VirtualJetProducer::produce( iEvent, iSetup );
252 
253  } else { // produce trackjets from tracks grouped per primary vertex
254 
255  produceTrackJets(iEvent, iSetup);
256 
257  }
258 
259  // fjClusterSeq_ retains quite a lot of memory - about 1 to 7Mb at 200 pileup
260  // depending on the exact configuration; and there are 24 FastjetJetProducers in the
261  // sequence so this adds up to about 60 Mb. It's allocated every time runAlgorithm
262  // is called, so safe to delete here.
263  fjClusterSeq_.reset();
264 }
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 267 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().

268 {
269 
270  // read in the track candidates
272  iEvent.getByToken(input_chrefcand_token_, inputsHandle);
273 
274  // make collection with pointers so we can play around with it
275  std::vector<edm::Ptr<reco::RecoChargedRefCandidate> > allInputs;
276  std::vector<edm::Ptr<reco::Candidate> > origInputs;
277  for (size_t i = 0; i < inputsHandle->size(); ++i) {
278  allInputs.push_back(inputsHandle->ptrAt(i));
279  origInputs.push_back(inputsHandle->ptrAt(i));
280  }
281 
282  // read in the PV collection
284  iEvent.getByToken(input_vertex_token_, pvCollection);
285  // define the overall output jet container
286  std::auto_ptr<std::vector<reco::TrackJet> > jets(new std::vector<reco::TrackJet>() );
287 
288  // loop over the good vertices, clustering for each vertex separately
289  for (reco::VertexCollection::const_iterator itVtx = pvCollection->begin(); itVtx != pvCollection->end(); ++itVtx) {
290  if (itVtx->isFake() || itVtx->ndof() < minVtxNdof_ || fabs(itVtx->z()) > maxVtxZ_) continue;
291 
292  // clear the intermediate containers
293  inputs_.clear();
294  fjInputs_.clear();
295  fjJets_.clear();
296 
297  // if only vertex-associated tracks should be used
298  if (useOnlyVertexTracks_) {
299  // loop over the tracks associated to the vertex
300  for (reco::Vertex::trackRef_iterator itTr = itVtx->tracks_begin(); itTr != itVtx->tracks_end(); ++itTr) {
301  // whether a match was found in the track candidate input
302  bool found = false;
303  // loop over input track candidates
304  for (std::vector<edm::Ptr<reco::RecoChargedRefCandidate> >::iterator itIn = allInputs.begin(); itIn != allInputs.end(); ++itIn) {
305  // match the input track candidate to the track from the vertex
306  reco::TrackRef trref(itTr->castTo<reco::TrackRef>());
307  // check if the tracks match
308  if ((*itIn)->track() == trref) {
309  found = true;
310  // add this track candidate to the input for clustering
311  inputs_.push_back(*itIn);
312  // erase the track candidate from the total list of input, so we don't reuse it later
313  allInputs.erase(itIn);
314  // found the candidate track corresponding to the vertex track, so stop the loop
315  break;
316  } // end if match found
317  } // end loop over input tracks
318  // give an info message in case no match is found (can happen if candidates are subset of tracks used for clustering)
319  if (!found) edm::LogInfo("FastjetTrackJetProducer") << "Ignoring a track at vertex which is not in input track collection!";
320  } // end loop over tracks associated to vertex
321  // if all inpt track candidates should be used
322  } else {
323  // loop over input track candidates
324  for (std::vector<edm::Ptr<reco::RecoChargedRefCandidate> >::iterator itIn = allInputs.begin(); itIn != allInputs.end(); ++itIn) {
325  // check if the track is close enough to the vertex
326  float dz = (*itIn)->track()->dz(itVtx->position());
327  float dxy = (*itIn)->track()->dxy(itVtx->position());
328  if (fabs(dz) > dzTrVtxMax_) continue;
329  if (fabs(dxy) > dxyTrVtxMax_) continue;
330  bool closervtx = false;
331  // now loop over the good vertices a second time
332  for (reco::VertexCollection::const_iterator itVtx2 = pvCollection->begin(); itVtx2 != pvCollection->end(); ++itVtx2) {
333  if (itVtx->isFake() || itVtx->ndof() < minVtxNdof_ || fabs(itVtx->z()) > maxVtxZ_) continue;
334  // and check this track is closer to any other vertex (if more than 1 vertex considered)
335  if (!useOnlyOnePV_ &&
336  itVtx != itVtx2 &&
337  fabs((*itIn)->track()->dz(itVtx2->position())) < fabs(dz)) {
338  closervtx = true;
339  break; // 1 closer vertex makes the track already not matched, so break
340  }
341  }
342  // don't add this track if another vertex is found closer
343  if (closervtx) continue;
344  // add this track candidate to the input for clustering
345  inputs_.push_back(*itIn);
346  // erase the track candidate from the total list of input, so we don't reuse it later
347  allInputs.erase(itIn);
348  // take a step back in the loop since we just erased
349  --itIn;
350  }
351  }
352 
353  // convert candidates in inputs_ to fastjet::PseudoJets in fjInputs_
354  fjInputs_.reserve(inputs_.size());
355  inputTowers();
356  LogDebug("FastjetTrackJetProducer") << "Inputted towers\n";
357 
358  // run algorithm, using fjInputs_, modifying fjJets_ and allocating fjClusterSeq_
359  runAlgorithm(iEvent, iSetup);
360  LogDebug("FastjetTrackJetProducer") << "Ran algorithm\n";
361 
362  // convert our jets and add to the overall jet vector
363  for (unsigned int ijet=0;ijet<fjJets_.size();++ijet) {
364  // get the constituents from fastjet
365  std::vector<fastjet::PseudoJet> fjConstituents = sorted_by_pt(fjClusterSeq_->constituents(fjJets_[ijet]));
366  // convert them to CandidatePtr vector
367  std::vector<reco::CandidatePtr> constituents = getConstituents(fjConstituents);
368  // fill the trackjet
370  // write the specifics to the jet (simultaneously sets 4-vector, vertex).
371  writeSpecific( jet,
372  reco::Particle::LorentzVector(fjJets_[ijet].px(), fjJets_[ijet].py(), fjJets_[ijet].pz(), fjJets_[ijet].E()),
373  vertex_, constituents, iSetup);
374  jet.setJetArea(0);
375  jet.setPileup(0);
376  jet.setPrimaryVertex(edm::Ref<reco::VertexCollection>(pvCollection, (int) (itVtx-pvCollection->begin())));
377  jet.setVertex(itVtx->position());
378  jets->push_back(jet);
379  }
380 
381  if (useOnlyOnePV_) break; // stop vertex loop if only one vertex asked for
382  } // end loop over vertices
383 
384  // put the jets in the collection
385  LogDebug("FastjetTrackJetProducer") << "Put " << jets->size() << " jets in the event.\n";
386  iEvent.put(jets);
387 
388  // Clear the work vectors so that memory is free for other modules.
389  // Use the trick of swapping with an empty vector so that the memory
390  // is actually given back rather than silently kept.
391  decltype(fjInputs_)().swap(fjInputs_);
392  decltype(fjJets_)().swap(fjJets_);
393  decltype(inputs_)().swap(inputs_);
394 }
#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:464
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:120
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 398 of file FastjetJetProducer.cc.

References beta_, correctShape_, 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_, gridMaxRapidity_, gridSpacing_, 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().

399 {
400  // run algorithm
401  /*
402  fjInputs_.clear();
403  double px, py , pz, E;
404  string line;
405  std::ifstream fin("dump3.txt");
406  while (getline(fin, line)){
407  if (line == "#END") break;
408  if (line.substr(0,1) == "#") {continue;}
409  istringstream istr(line);
410  istr >> px >> py >> pz >> E;
411  // create a fastjet::PseudoJet with these components and put it onto
412  // back of the input_particles vector
413  fastjet::PseudoJet j(px,py,pz,E);
414  //if ( fabs(j.rap()) < inputEtaMax )
415  fjInputs_.push_back(fastjet::PseudoJet(px,py,pz,E));
416  }
417  fin.close();
418  */
419 
420  if ( !doAreaFastjet_ && !doRhoFastjet_) {
421  fjClusterSeq_ = ClusterSequencePtr( new fastjet::ClusterSequence( fjInputs_, *fjJetDefinition_ ) );
422  } else if (voronoiRfact_ <= 0) {
423  fjClusterSeq_ = ClusterSequencePtr( new fastjet::ClusterSequenceArea( fjInputs_, *fjJetDefinition_ , *fjAreaDefinition_ ) );
424  } else {
425  fjClusterSeq_ = ClusterSequencePtr( new fastjet::ClusterSequenceVoronoiArea( fjInputs_, *fjJetDefinition_ , fastjet::VoronoiAreaSpec(voronoiRfact_) ) );
426  }
427 
429  fjJets_ = fastjet::sorted_by_pt(fjClusterSeq_->inclusive_jets(jetPtMin_));
430  } else {
431  fjJets_.clear();
432 
433 
434  transformer_coll transformers;
435 
436 
437  std::vector<fastjet::PseudoJet> tempJets = fastjet::sorted_by_pt(fjClusterSeq_->inclusive_jets(jetPtMin_));
438 
439  unique_ptr<fastjet::JetMedianBackgroundEstimator> bge_rho;
441  fastjet::Selector rho_range = fastjet::SelectorAbsRapMax(csRho_EtaMax_);
442  bge_rho = unique_ptr<fastjet::JetMedianBackgroundEstimator> (new fastjet::JetMedianBackgroundEstimator(rho_range, fastjet::JetDefinition(fastjet::kt_algorithm, csRParam_), *fjAreaDefinition_) );
443  bge_rho->set_particles(fjInputs_);
444  fastjet::contrib::ConstituentSubtractor * constituentSubtractor = new fastjet::contrib::ConstituentSubtractor(bge_rho.get());
445  // this sets the same background estimator to be used for deltaMass density, rho_m, as for pt density, rho:
446  constituentSubtractor->use_common_bge_for_rho_and_rhom(true); // for massless input particles it does not make any difference (rho_m is always zero)
447 
448  transformers.push_back( transformer_ptr(constituentSubtractor) );
449  };
450  if ( useMassDropTagger_ ) {
451  fastjet::MassDropTagger * md_tagger = new fastjet::MassDropTagger ( muCut_, yCut_ );
452  transformers.push_back( transformer_ptr(md_tagger) );
453  }
455  fastjet::contrib::CMSBoostedTauSeedingAlgorithm * tau_tagger =
456  new fastjet::contrib::CMSBoostedTauSeedingAlgorithm ( subjetPtMin_, muMin_, muMax_, yMin_, yMax_, dRMin_, dRMax_, maxDepth_, verbosity_ );
457  transformers.push_back( transformer_ptr(tau_tagger ));
458  }
459  if ( useTrimming_ ) {
460  fastjet::Filter * trimmer = new fastjet::Filter(fastjet::JetDefinition(fastjet::kt_algorithm, rFilt_), fastjet::SelectorPtFractionMin(trimPtFracMin_));
461  transformers.push_back( transformer_ptr(trimmer) );
462  }
463  if ( (useFiltering_) && (!useDynamicFiltering_) ) {
464  fastjet::Filter * filter = new fastjet::Filter(fastjet::JetDefinition(fastjet::cambridge_algorithm, rFilt_), fastjet::SelectorNHardest(nFilt_));
465  transformers.push_back( transformer_ptr(filter));
466  }
467 
468  if ( (usePruning_) && (!useKtPruning_) ) {
469  fastjet::Pruner * pruner = new fastjet::Pruner(fastjet::cambridge_algorithm, zCut_, RcutFactor_);
470  transformers.push_back( transformer_ptr(pruner ));
471  }
472 
473  if ( useDynamicFiltering_ ){
474  fastjet::Filter * filter = new fastjet::Filter( fastjet::Filter(&*rFiltDynamic_, fastjet::SelectorNHardest(nFilt_)));
475  transformers.push_back( transformer_ptr(filter));
476  }
477 
478  if ( useKtPruning_ ) {
479  fastjet::Pruner * pruner = new fastjet::Pruner(fastjet::kt_algorithm, zCut_, RcutFactor_);
480  transformers.push_back( transformer_ptr(pruner ));
481  }
482 
483  if ( useSoftDrop_ ) {
484  fastjet::contrib::SoftDrop * sd = new fastjet::contrib::SoftDrop(beta_, zCut_, R0_ );
485  transformers.push_back( transformer_ptr(sd) );
486  }
487 
488  unique_ptr<fastjet::Subtractor> subtractor;
489  unique_ptr<fastjet::GridMedianBackgroundEstimator> bge_rho_grid;
490  if ( correctShape_ ) {
491  bge_rho_grid = unique_ptr<fastjet::GridMedianBackgroundEstimator> (new fastjet::GridMedianBackgroundEstimator(gridMaxRapidity_, gridSpacing_) );
492  bge_rho_grid->set_particles(fjInputs_);
493  subtractor = unique_ptr<fastjet::Subtractor>( new fastjet::Subtractor( bge_rho_grid.get()) );
494  subtractor->set_use_rho_m();
495  //subtractor->use_common_bge_for_rho_and_rhom(true);
496  }
497 
498 
499  for ( std::vector<fastjet::PseudoJet>::const_iterator ijet = tempJets.begin(),
500  ijetEnd = tempJets.end(); ijet != ijetEnd; ++ijet ) {
501 
502  fastjet::PseudoJet transformedJet = *ijet;
503  bool passed = true;
504  for ( transformer_coll::const_iterator itransf = transformers.begin(),
505  itransfEnd = transformers.end(); itransf != itransfEnd; ++itransf ) {
506  if ( transformedJet != 0 ) {
507  transformedJet = (**itransf)(transformedJet);
508  } else {
509  passed=false;
510  }
511  }
512 
513  if ( correctShape_ ) {
514  transformedJet = (*subtractor)(transformedJet);
515  }
516 
517  if ( passed ) {
518  fjJets_.push_back( transformedJet );
519  }
520  }
521  }
522 
523 }
double muMin_
for CMSBoostedTauSeedingAlgorithm : subjet pt min
double yMin_
for CMSBoostedTauSeedingAlgorithm : max mass-drop
bool useFiltering_
Mass-drop tagging for boosted Higgs.
bool correctShape_
Soft drop.
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 shape subtraction, get the grid spacing
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
double gridSpacing_
for shape subtraction, get the fixed-grid rho
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
double gridMaxRapidity_
for soft drop : R0 (angular distance normalization - should be set to jet radius in most cases) ...
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_
Correct the shape of the jets.
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 99 of file FastjetJetProducer.h.

Referenced by FastjetJetProducer(), and runAlgorithm().

bool FastjetJetProducer::correctShape_
private

Soft drop.

Definition at line 87 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 97 of file FastjetJetProducer.h.

Referenced by FastjetJetProducer(), and runAlgorithm().

double FastjetJetProducer::csRParam_
private

for constituent subtraction : maximum rapidity for ghosts

Definition at line 98 of file FastjetJetProducer.h.

Referenced by FastjetJetProducer(), and runAlgorithm().

double FastjetJetProducer::dRMax_
private

for CMSBoostedTauSeedingAlgorithm : min dR

Definition at line 111 of file FastjetJetProducer.h.

Referenced by FastjetJetProducer(), and runAlgorithm().

double FastjetJetProducer::dRMin_
private

for CMSBoostedTauSeedingAlgorithm : max asymmetry

Definition at line 110 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().

double FastjetJetProducer::gridMaxRapidity_
private

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

Definition at line 101 of file FastjetJetProducer.h.

Referenced by FastjetJetProducer(), and runAlgorithm().

double FastjetJetProducer::gridSpacing_
private

for shape subtraction, get the fixed-grid rho

Definition at line 102 of file FastjetJetProducer.h.

Referenced by FastjetJetProducer(), and runAlgorithm().

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

for CMSBoostedTauSeedingAlgorithm : max depth for descending into clustering sequence

Definition at line 116 of file FastjetJetProducer.h.

Referenced by FastjetJetProducer(), and produceTrackJets().

int FastjetJetProducer::maxDepth_
private

for CMSBoostedTauSeedingAlgorithm : max dR

Definition at line 112 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

Correct the shape of the jets.

Definition at line 88 of file FastjetJetProducer.h.

Referenced by FastjetJetProducer(), and runAlgorithm().

double FastjetJetProducer::muMax_
private

for CMSBoostedTauSeedingAlgorithm : min mass-drop

Definition at line 107 of file FastjetJetProducer.h.

Referenced by FastjetJetProducer(), and runAlgorithm().

double FastjetJetProducer::muMin_
private

for CMSBoostedTauSeedingAlgorithm : subjet pt min

Definition at line 106 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 93 of file FastjetJetProducer.h.

Referenced by FastjetJetProducer(), and runAlgorithm().

double FastjetJetProducer::R0_
private

for soft drop : beta (angular exponent)

Definition at line 100 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 96 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 90 of file FastjetJetProducer.h.

Referenced by FastjetJetProducer(), and runAlgorithm().

DynamicRfiltPtr FastjetJetProducer::rFiltDynamic_
private

for filtering, trimming: dR scale of sub-clustering

Definition at line 91 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 92 of file FastjetJetProducer.h.

Referenced by FastjetJetProducer().

double FastjetJetProducer::subjetPtMin_
private

for shape subtraction, get the grid spacing

Definition at line 105 of file FastjetJetProducer.h.

Referenced by FastjetJetProducer(), and runAlgorithm().

double FastjetJetProducer::trimPtFracMin_
private

for filtering, pruning: number of subjets expected

Definition at line 94 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 89 of file FastjetJetProducer.h.

Referenced by FastjetJetProducer(), and runAlgorithm().

double FastjetJetProducer::yMax_
private

for CMSBoostedTauSeedingAlgorithm : min asymmetry

Definition at line 109 of file FastjetJetProducer.h.

Referenced by FastjetJetProducer(), and runAlgorithm().

double FastjetJetProducer::yMin_
private

for CMSBoostedTauSeedingAlgorithm : max mass-drop

Definition at line 108 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 95 of file FastjetJetProducer.h.

Referenced by FastjetJetProducer(), and runAlgorithm().