CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
FWLiteJetProducer.h
Go to the documentation of this file.
1 #ifndef Demo_PFRootEvent_FWLiteJetProducer_h
2 #define Demo_PFRootEvent_FWLiteJetProducer_h
3 
15 
16 // #include "FWCore/Framework/interface/OrphanHandle.h"
18 // #include "DataFormats/Common/interface/ProductID.h"
20 
21 class Utils;
27  public:
34  void applyCuts( const reco::CandidatePtrVector& Candidates,
38  JetReco::OutputCollection* fOutput);
40  void makeFastJets(const JetReco::InputCollection& fInput,
41  JetReco::OutputCollection* fOutput);
43  void makeMidpointJets(const JetReco::InputCollection& fInput,
44  JetReco::OutputCollection* fOutput);
45  void print();
46  void updateParameter();
51 
52  // Get methods --------------------------------------------
54  double getmEtInputCut(){return mEtInputCut_;}
56  double getmEInputCut(){return mEInputCut_;}
58  double getSeedThreshold(){return seedThreshold_;}
60  double getConeRadius(){return coneRadius_;}
70  double getPtMin (){return ptMin_ ;}
72  double getRParam(){return rparam_;}
74  bool getDebug(){return debug_;}
75 
76  // Set methods --------------------------------------------
78  void setmEtInputCut (double amEtInputCut){mEtInputCut_=amEtInputCut;}
80  void setmEInputCut (double amEInputCut){mEInputCut_=amEInputCut;}
82  void setSeedThreshold(double aSeedThreshold) {seedThreshold_=aSeedThreshold;}
84  void setConeRadius(double aConeRadius) {coneRadius_=aConeRadius;}
86  void setConeAreaFraction(double aConeAreaFraction) {coneAreaFraction_=aConeAreaFraction;}
88  void setMaxPairSize(int aMaxPairSize) {maxPairSize_=aMaxPairSize;}
90  void setMaxIterations(int amaxIteration) {maxIterations_=amaxIteration;}
92  void setOverlapThreshold(double aOverlapThreshold) {overlapThreshold_=aOverlapThreshold;}
93  void setPtMin (double aPtMin){ptMin_=aPtMin;}
94  void setRParam (double aRparam){rparam_=aRparam;}
95  void setDebug(bool aDebug){debug_=aDebug;}
96 
97  // jets parameters ----------------------------------------
98  private:
100  double mEtInputCut_;
102  double mEInputCut_ ;
106  double coneRadius_;
115  double ptMin_;
116  double rparam_;
117  bool debug_;
118 
119 };
120 #endif
void setmEInputCut(double amEInputCut)
Minimum E for jet constituents.
void setOverlapThreshold(double aOverlapThreshold)
????
double coneAreaFraction_
Fraction of (alowed) overlapping.
std::vector< ProtoJet > OutputCollection
Definition: JetRecoTypes.h:62
double getSeedThreshold()
Get seed to start jet reconstruction.
double mEtInputCut_
Minimum ET for jet constituents.
CMSMidpointAlgorithm * algoMC_
int getMaxPairSize()
????
void makeIterativeConeJets(const JetReco::InputCollection &fInput, JetReco::OutputCollection *fOutput)
Produce jet collection using CMS Iterative Cone Algorithm.
CMSIterativeConeAlgorithm * algoIC_
Jet Algos -----------------------------------------—.
std::vector< InputItem > InputCollection
Definition: JetRecoTypes.h:61
void setmEtInputCut(double amEtInputCut)
Minimum ET for jet constituents.
void setSeedThreshold(double aSeedThreshold)
Set seed to start jet reconstruction.
void setMaxIterations(int amaxIteration)
????
void setConeRadius(double aConeRadius)
Set radius of the cone.
void applyCuts(const reco::CandidatePtrVector &Candidates, JetReco::InputCollection *input)
static std::string const input
Definition: EdmProvDump.cc:44
double getConeAreaFraction()
Get fraction of (alowed) overlapping.
~FWLiteJetProducer()
destructor
FastJetFWLiteWrapper algoF_
void makeMidpointJets(const JetReco::InputCollection &fInput, JetReco::OutputCollection *fOutput)
Produce jet collection using CMS Midpoint Jet Algorithm.
double getOverlapThreshold()
????
void setDebug(bool aDebug)
double seedThreshold_
Seed to start jet reconstruction.
void makeFastJets(const JetReco::InputCollection &fInput, JetReco::OutputCollection *fOutput)
Produce jet collection using CMS Fast Jet Algorithm.
void setConeAreaFraction(double aConeAreaFraction)
Set fraction of (alowed) overlapping.
double getmEtInputCut()
Minimum ET for jet constituents.
int getMaxIterations()
????
double coneRadius_
Radius of the cone.
double getConeRadius()
Get radius of the cone.
void setRParam(double aRparam)
Utility functions.
Definition: Utils.h:16
void setMaxPairSize(int aMaxPairSize)
????
double mEInputCut_
Minimum energy for jet constituents.
FWLiteJetProducer()
default constructor
void setPtMin(double aPtMin)
double getmEInputCut()
Minimum E for jet constituents.
double overlapThreshold_
????