CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Member Functions | Private Member Functions
FWEcalRecHitProxyBuilder Class Reference
Inheritance diagram for FWEcalRecHitProxyBuilder:
FWCaloRecHitDigitSetProxyBuilder FWDigitSetProxyBuilder FWProxyBuilderBase

Public Member Functions

 FWEcalRecHitProxyBuilder ()
 
const std::string & purpose () const
 
const std::string & typeName () const
 
const std::string & view () const
 
void viewContextBoxScale (const float *corners, float scale, bool plotEt, std::vector< float > &scaledCorners, const CaloRecHit *) override
 
 ~FWEcalRecHitProxyBuilder () override
 
- Public Member Functions inherited from FWCaloRecHitDigitSetProxyBuilder
void build (const FWEventItem *iItem, TEveElementList *product, const FWViewContext *) override
 
 FWCaloRecHitDigitSetProxyBuilder ()
 
bool havePerViewProduct (FWViewType::EType) const override
 
virtual void invertBox (bool x)
 
virtual float scaleFactor (const FWViewContext *vc)
 
void scaleProduct (TEveElementList *parent, FWViewType::EType, const FWViewContext *vc) override
 
void setItem (const FWEventItem *iItem) override
 
 ~FWCaloRecHitDigitSetProxyBuilder (void) override
 
- Public Member Functions inherited from FWDigitSetProxyBuilder
 FWDigitSetProxyBuilder ()
 
bool willHandleInteraction () const override
 
 ~FWDigitSetProxyBuilder () override
 
- Public Member Functions inherited from FWProxyBuilderBase
void build ()
 
virtual bool canHandle (const FWEventItem &)
 
const fireworks::Contextcontext () const
 
TEveElementList * createProduct (FWViewType::EType, const FWViewContext *)
 
 FWProxyBuilderBase ()
 
bool getHaveWindow () const
 
virtual bool haveSingleProduct () const
 
const FWEventItemitem () const
 
virtual void itemBeingDestroyed (const FWEventItem *)
 
void itemChanged (const FWEventItem *)
 
int layer () const
 
void modelChanges (const FWModelIds &)
 
void removePerViewProduct (FWViewType::EType, const FWViewContext *vc)
 
void scaleChanged (const FWViewContext *)
 
void setHaveWindow (bool iFlag)
 
virtual void setInteractionList (FWInteractionList *, const std::string &)
 
void setupAddElement (TEveElement *el, TEveElement *parent, bool set_color=true) const
 
void setupElement (TEveElement *el, bool color=true) const
 
virtual ~FWProxyBuilderBase ()
 

Static Public Member Functions

static const std::string & classPurpose ()
 
static const std::string & classRegisterTypeName ()
 
static const std::string & classTypeName ()
 
static const std::string & classView ()
 
- Static Public Member Functions inherited from FWProxyBuilderBase
static bool representsSubPart ()
 
static std::string typeOfBuilder ()
 Used by the plugin system to determine how the proxy uses the data from FWEventItem. More...
 

Private Member Functions

 FWEcalRecHitProxyBuilder (const FWEcalRecHitProxyBuilder &)=delete
 
const FWEcalRecHitProxyBuilderoperator= (const FWEcalRecHitProxyBuilder &)=delete
 

Additional Inherited Members

- Protected Types inherited from FWProxyBuilderBase
typedef std::vector< Product * >::iterator Product_it
 
- Protected Member Functions inherited from FWDigitSetProxyBuilder
void addBox (TEveBoxSet *set, const float *pnts, const FWDisplayProperties &dp)
 
TEveBoxSet * addBoxSetToProduct (TEveElementList *product)
 
TEveBoxSet * getBoxSet () const
 
- Protected Member Functions inherited from FWProxyBuilderBase
virtual void buildViewType (const FWEventItem *iItem, TEveElementList *, FWViewType::EType, const FWViewContext *)
 
virtual void clean ()
 
virtual void cleanLocal ()
 
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 localModelChanges (const FWModelId &iId, TEveElement *iCompound, FWViewType::EType viewType, const FWViewContext *vc)
 
const FWProxyBuilderBaseoperator= (const FWProxyBuilderBase &)
 
virtual bool visibilityModelChanges (const FWModelId &, TEveElement *, FWViewType::EType, const FWViewContext *)
 
- Protected Attributes inherited from FWProxyBuilderBase
std::vector< Product * > m_products
 

Detailed Description

Definition at line 12 of file FWEcalRecHitProxyBuilder.cc.

Constructor & Destructor Documentation

FWEcalRecHitProxyBuilder::FWEcalRecHitProxyBuilder ( )
inline

Definition at line 15 of file FWEcalRecHitProxyBuilder.cc.

15 {}
FWEcalRecHitProxyBuilder::~FWEcalRecHitProxyBuilder ( )
inlineoverride

Definition at line 16 of file FWEcalRecHitProxyBuilder.cc.

References Scenarios_cff::scale, and viewContextBoxScale().

16 {}
FWEcalRecHitProxyBuilder::FWEcalRecHitProxyBuilder ( const FWEcalRecHitProxyBuilder )
privatedelete

Member Function Documentation

const std::string & FWEcalRecHitProxyBuilder::classPurpose ( )
static

Definition at line 35 of file FWEcalRecHitProxyBuilder.cc.

const std::string & FWEcalRecHitProxyBuilder::classRegisterTypeName ( )
static

Definition at line 35 of file FWEcalRecHitProxyBuilder.cc.

const std::string & FWEcalRecHitProxyBuilder::classTypeName ( )
static

Definition at line 35 of file FWEcalRecHitProxyBuilder.cc.

const std::string & FWEcalRecHitProxyBuilder::classView ( )
static

Definition at line 35 of file FWEcalRecHitProxyBuilder.cc.

const FWEcalRecHitProxyBuilder& FWEcalRecHitProxyBuilder::operator= ( const FWEcalRecHitProxyBuilder )
privatedelete
const std::string& FWEcalRecHitProxyBuilder::purpose ( ) const
inline
const std::string& FWEcalRecHitProxyBuilder::typeName ( ) const
inline
const std::string& FWEcalRecHitProxyBuilder::view ( ) const
inline
void FWEcalRecHitProxyBuilder::viewContextBoxScale ( const float *  corners,
float  scale,
bool  plotEt,
std::vector< float > &  scaledCorners,
const CaloRecHit hit 
)
overridevirtual

Reimplemented from FWCaloRecHitDigitSetProxyBuilder.

Definition at line 28 of file FWEcalRecHitProxyBuilder.cc.

References CaloRecHit::detid(), EcalPreshower, FWCaloRecHitDigitSetProxyBuilder::invertBox(), DetId::subdetId(), and FWCaloRecHitDigitSetProxyBuilder::viewContextBoxScale().

Referenced by ~FWEcalRecHitProxyBuilder().

29 {
30  invertBox((EcalSubdetector( hit->detid().subdetId() ) == EcalPreshower) && (corners[2] < 0));
31  FWCaloRecHitDigitSetProxyBuilder::viewContextBoxScale(corners, scale, plotEt, scaledCorners, hit );
32 }
constexpr const DetId & detid() const
Definition: CaloRecHit.h:35
virtual void viewContextBoxScale(const float *corners, float scale, bool plotEt, std::vector< float > &scaledCorners, const CaloRecHit *)
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector&#39;s numbering enum) ...
Definition: DetId.h:41
EcalSubdetector