Go to the documentation of this file.
34 #include <Math/VectorUtil.h>
54 <<
"This extractor " << (
typeid(
this).
name()) <<
" is not made for tracks";
79 : extRadius_(par.getParameter<double>(
"extRadius")),
80 intRadius_(par.getParameter<double>(
"intRadius")),
81 etLow_(par.getParameter<double>(
"etMin")),
104 Direction candDir(caloPosition.eta(), caloPosition.phi());
107 double sinTheta =
sin(2 * atan(
exp(-sc->eta())));
113 double hcalHit_eta = hcalHit_position.
eta();
114 double hcalHit_Et =
i.energy() *
sin(2 * atan(
exp(-hcalHit_eta)));
115 if (hcalHit_Et >
etLow_) {
T const * product() const
GlobalPoint getPosition(const DetId &id) const
Get the position of a given detector id.
void addDeposit(double dr, double deposit)
Add deposit (ie. transverse energy or pT)
T get() const
get a component
Sin< T >::type sin(const T &t)
void selectCallback(double eta, double phi, const edm::SortedCollection< T > &inputCollection, std::function< void(const T &)> callback)
#define DEFINE_EDM_PLUGIN(factory, type, name)
XYZPointD XYZPoint
point in space with cartesian internal representation
const uint32_t *__restrict__ const HitContainer *__restrict__ TkSoA *__restrict__ tracks
void addCandEnergy(double et)
Set energy or pT attached to cand trajectory.
*vegas h *****************************************************used in the default bin number in original ***version of VEGAS is ***a higher bin number might help to derive a more precise ***grade subtle point
std::vector< Track > TrackCollection
collection of Tracks
Geom::Phi< T > phi() const
void setVeto(const Veto &aVeto)
Set veto.