|
![CMS Logo](/cmsdoxygen/common/rightImage.jpg) |
#include <Fireworks/Calo/interface/FWTauProxyBuilderBase.h>
|
void | buildBaseTau (const reco::BaseTau &iTau, const reco::Jet *iJet, TEveElement *comp, FWViewType::EType type, const FWViewContext *vc) |
|
void | localModelChanges (const FWModelId &iId, TEveElement *iCompound, FWViewType::EType viewType, const FWViewContext *vc) override |
|
virtual void | build (const FWEventItem *iItem, TEveElementList *product, const FWViewContext *) |
|
virtual void | buildViewType (const FWEventItem *iItem, TEveElementList *, FWViewType::EType, const FWViewContext *) |
|
virtual void | clean () |
|
TEveCompound * | createCompound (bool set_color=true, bool propagate_color_to_all_children=false) const |
|
| FWProxyBuilderBase (const FWProxyBuilderBase &) |
|
void | increaseComponentTransparency (unsigned int index, TEveElement *holder, const std::string &name, Char_t transpOffset) |
|
virtual void | modelChanges (const FWModelIds &, Product *) |
|
const FWProxyBuilderBase & | operator= (const FWProxyBuilderBase &) |
|
virtual bool | visibilityModelChanges (const FWModelId &, TEveElement *, FWViewType::EType, const FWViewContext *) |
|
Description: [one line class summary]
Usage: <usage>
Definition at line 39 of file FWTauProxyBuilderBase.h.
◆ FWTauProxyBuilderBase() [1/2]
FWTauProxyBuilderBase::FWTauProxyBuilderBase |
( |
| ) |
|
◆ ~FWTauProxyBuilderBase()
FWTauProxyBuilderBase::~FWTauProxyBuilderBase |
( |
| ) |
|
|
override |
◆ FWTauProxyBuilderBase() [2/2]
◆ addConstituentTracks()
void FWTauProxyBuilderBase::addConstituentTracks |
( |
const reco::BaseTau & |
tau, |
|
|
class TEveElement * |
product |
|
) |
| |
|
private |
◆ addLeadTrack()
void FWTauProxyBuilderBase::addLeadTrack |
( |
const reco::BaseTau & |
tau, |
|
|
class TEveElement * |
product |
|
) |
| |
|
private |
◆ buildBaseTau()
Definition at line 51 of file FWTauProxyBuilderBase.cc.
70 TEveScalableStraightLineSet* marker =
new TEveScalableStraightLineSet(
"energy");
89 double min_phi = phiRange.first -
M_PI / 36 / 2;
90 double max_phi = phiRange.second +
M_PI / 36 / 2;
91 TEveGeoManagerHolder gmgr(TEveGeoShape::GetGeoMangeur());
92 TGeoBBox* sc_box =
new TGeoTubeSeg(ecalR - 1, ecalR + 1, 1, min_phi * 180 /
M_PI, max_phi * 180 /
M_PI);
94 shape->SetPickable(kTRUE);
97 marker->SetScaleCenter(ecalR *
cos(
phi), ecalR *
sin(
phi), 0);
100 marker->SetLineWidth(4);
112 cone->SetApex(TEveVector(
bs->x0(),
bs->y0(),
bs->z0()));
115 cone->SetFillColor(
dp.color());
116 cone->SetLineColor(
dp.color());
118 cone->SetMainTransparency(
TMath::Min(100, 80 +
dp.transparency() / 5));
References addConstituentTracks(), addLeadTrack(), fireworks::addRhoZEnergyProjection(), Reference_intrackfit_cff::barrel, cms::cuda::bs, fireworks::Context::caloR1(), fireworks::Context::caloR2(), fireworks::Context::caloTransAngle(), fireworks::Context::caloZ1(), fireworks::Context::caloZ2(), AlCaHLTBitMon_QueryRunRegistry::comp, FWProxyBuilderBase::context(), funct::cos(), FWEventItem::defaultDisplayProperties(), Calorimetry_cff::dp, reco::LeafCandidate::energy(), reco::LeafCandidate::et(), fireworks::Context::getBeamSpot(), FWViewContext::getEnergyScale(), fireworks::getPhiRange(), FWViewEnergyScale::getPlotEt(), FWViewEnergyScale::getScaleFactor3D(), fireworks::getShape(), FWViewType::isProjected(), FWProxyBuilderBase::item(), FWViewType::kRhoZ, kTauApexBeamSpot(), m_lines, m_maxTheta, m_minTheta, m_phis, M_PI, fireworks::makeEveJetCone(), Min(), phi, reco::LeafCandidate::phi(), Pi, alignCSCRings::r, FWProxyBuilderBase::setupAddElement(), funct::sin(), findQualityFiles::size, reco::LeafCandidate::theta(), theta(), and fireworks::Context::voteMaxEtAndEnergy().
Referenced by FWPFTauProxyBuilder::buildViewType().
◆ cleanLocal()
void FWTauProxyBuilderBase::cleanLocal |
( |
| ) |
|
|
overridevirtual |
◆ havePerViewProduct()
◆ haveSingleProduct()
bool FWTauProxyBuilderBase::haveSingleProduct |
( |
void |
| ) |
const |
|
inlineoverridevirtual |
◆ localModelChanges()
◆ operator=()
◆ scaleProduct()
◆ setItem()
void FWTauProxyBuilderBase::setItem |
( |
const FWEventItem * |
iItem | ) |
|
|
overridevirtual |
◆ m_lines
◆ m_maxTheta
float FWTauProxyBuilderBase::m_maxTheta |
|
protected |
◆ m_minTheta
float FWTauProxyBuilderBase::m_minTheta |
|
protected |
◆ m_phis
std::vector<double> FWTauProxyBuilderBase::m_phis |
|
protected |
FWProxyBuilderConfiguration * getConfig() const
FWBeamSpot * getBeamSpot() const
static bool isProjected(int)
static const std::string kTauApexBeamSpot("Place Apex In BeamSpot")
TEveGeoShape * getShape(const char *name, TGeoBBox *shape, Color_t color)
const FWDisplayProperties & defaultDisplayProperties() const
Sin< T >::type sin(const T &t)
static float caloZ2(bool offset=true)
Cos< T >::type cos(const T &t)
void voteMaxEtAndEnergy(float Et, float energy) const
void addConstituentTracks(const reco::BaseTau &tau, class TEveElement *product)
void increaseComponentTransparency(unsigned int index, TEveElement *holder, const std::string &name, Char_t transpOffset)
double theta() const final
momentum polar angle
Geom::Theta< T > theta() const
void addLeadTrack(const reco::BaseTau &tau, class TEveElement *product)
void addRhoZEnergyProjection(FWProxyBuilderBase *, TEveElement *, double r_ecal, double z_ecal, double theta_min, double theta_max, double phi)
FWGenericParameter< T > * assertParam(const std::string &name, T def)
static float caloR2(bool offset=true)
TEveJetCone * makeEveJetCone(const reco::Jet &iData, const fireworks::Context &context)
TEveTrack * prepareTrack(const reco::Track &track, TEveTrackPropagator *propagator, const std::vector< TEveVector > &extraRefPoints=std::vector< TEveVector >())
void setupAddElement(TEveElement *el, TEveElement *parent, bool set_color=true) const
std::vector< fireworks::scaleMarker > m_lines
static float caloTransAngle()
std::vector< double > m_phis
const FWEventItem * item() const
float getScaleFactor3D() const
double et() const final
transverse energy
static float caloZ1(bool offset=true)
double phi() const final
momentum azimuthal angle
double energy() const final
energy
const fireworks::Context & context() const
virtual void setItem(const FWEventItem *iItem)
FWViewEnergyScale * getEnergyScale() const
static float caloR1(bool offset=true)
std::pair< double, double > getPhiRange(const std::vector< double > &phis, double phi)