13 #define init_param(type, varname) varname (ps.getParameter< type >( #varname ))
24 :
inputLabel(ps.getParameter<edm::InputTag>(
"src")),
29 etaDependentMagnutideFactors(
30 ps.getParameter<std::vector<double> >(
31 "etaDependentMagnutideFactors")),
35 vertex_(0.0, 0.0, 0.0)
39 <<
"Bad scale for the complete event : must be positive"
60 if (pvCollection->empty())
63 vertex_ = pvCollection->begin()->position();
85 const CaloTower& tower(dynamic_cast<const CaloTower&>(item));
104 const unsigned nInputs =
eventData.size();
106 for (
unsigned i=0;
i<nInputs; ++
i)
109 g.fill(item.Eta(), item.Phi(), item.Et());
116 <<
"ERROR in FFTJetInterface::discretizeEnergyFlow() :"
117 " number of elements in the \"etaDependentMagnutideFactors\""
118 " vector is inconsistent with the grid binning"
const bool doPVCorrection
std::auto_ptr< fftjet::Grid2d< fftjetcms::Real > > energyFlow
boost::indirect_iterator< typename seq_t::const_iterator > const_iterator
const edm::InputTag inputLabel
edm::Handle< reco::CandidateView > inputCollection
const double completeEventScale
math::PtEtaPhiMLorentzVector p4(double vtxZ) const
void loadInputCollection(const edm::Event &)
const edm::InputTag srcPVs
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e g
double getEventScale() const
virtual float pt() const =0
transverse momentum
std::vector< unsigned > candidateIndex
reco::Particle::Point vertex_
math::XYZTLorentzVector VectorLike
const std::vector< double > etaDependentMagnutideFactors
math::XYZPoint Point
point in the space
const AnomalousTower anomalous
JetType parseJetType(const std::string &name)
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
bool storeInSinglePrecision() const
void discretizeEnergyFlow()
const bool insertCompleteEvent
#define init_param(type, varname)
std::vector< fftjetcms::VectorLike > eventData
virtual const LorentzVector & p4() const =0
four-momentum Lorentz vector