34 #include <Math/VectorUtil.h> 54 <<
"This extractor " << (
typeid(
this).
name()) <<
" is not made for tracks";
80 : extRadius_(par.getParameter<double>(
"extRadius")),
81 intRadius_(par.getParameter<double>(
"intRadius")),
82 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_) {
void setVeto(const Veto &aVeto)
Set veto.
T get() const
get a component
Geom::Phi< T > phi() const
Sin< T >::type sin(const T &t)
std::vector< Track > TrackCollection
collection of Tracks
void addDeposit(double dr, double deposit)
Add deposit (ie. transverse energy or pT)
GlobalPoint getPosition(const DetId &id) const
Get the position of a given detector id.
void addCandEnergy(double et)
Set energy or pT attached to cand trajectory.
bool getData(T &iHolder) const
auto const & tracks
cannot be loose
XYZPointD XYZPoint
point in space with cartesian internal representation
void selectCallback(double eta, double phi, const edm::SortedCollection< T > &inputCollection, std::function< void(const T &)> callback)
#define DEFINE_EDM_PLUGIN(factory, type, name)
*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