CMS 3D CMS Logo

Public Member Functions | Private Member Functions | Private Attributes

FWMuonRhoPhiProxyBuilder Class Reference

Inheritance diagram for FWMuonRhoPhiProxyBuilder:
FWSimpleProxyBuilderTemplate< reco::Muon > FWSimpleProxyBuilder FWProxyBuilderBase

List of all members.

Public Member Functions

 FWMuonRhoPhiProxyBuilder (void)
 REGISTER_PROXYBUILDER_METHODS ()
virtual ~FWMuonRhoPhiProxyBuilder (void)

Private Member Functions

void build (const reco::Muon &iData, unsigned int iIndex, TEveElement &oItemHolder, const FWViewContext *)
 FWMuonRhoPhiProxyBuilder (const FWMuonRhoPhiProxyBuilder &)
virtual void localModelChanges (const FWModelId &iId, TEveElement *iCompound, FWViewType::EType viewType, const FWViewContext *vc)
const FWMuonRhoPhiProxyBuilderoperator= (const FWMuonRhoPhiProxyBuilder &)

Private Attributes

FWMuonBuilder m_builder

Detailed Description

Definition at line 13 of file FWMuonRhoPhiProxyBuilder.cc.


Constructor & Destructor Documentation

FWMuonRhoPhiProxyBuilder::FWMuonRhoPhiProxyBuilder ( void  ) [inline]

Definition at line 16 of file FWMuonRhoPhiProxyBuilder.cc.

{}
virtual FWMuonRhoPhiProxyBuilder::~FWMuonRhoPhiProxyBuilder ( void  ) [inline, virtual]

Definition at line 17 of file FWMuonRhoPhiProxyBuilder.cc.

{}
FWMuonRhoPhiProxyBuilder::FWMuonRhoPhiProxyBuilder ( const FWMuonRhoPhiProxyBuilder ) [private]

Member Function Documentation

void FWMuonRhoPhiProxyBuilder::build ( const reco::Muon iData,
unsigned int  iIndex,
TEveElement &  oItemHolder,
const FWViewContext  
) [private, virtual]

iIndex is the index where iData is found in the container from which it came iItemHolder is the object to which you add your own objects which inherit from TEveElement

Reimplemented from FWSimpleProxyBuilderTemplate< reco::Muon >.

Definition at line 36 of file FWMuonRhoPhiProxyBuilder.cc.

References FWMuonBuilder::buildMuon(), FWProxyBuilderBase::increaseComponentTransparency(), and m_builder.

{
   // To build in RhoPhi we should simply disable the Endcap drawing
   // by passing a false flag to a muon builder:
   m_builder.buildMuon( this, &iData, &oItemHolder, false, false );

   increaseComponentTransparency( iIndex, &oItemHolder, "Chamber", 40 );
}
void FWMuonRhoPhiProxyBuilder::localModelChanges ( const FWModelId iId,
TEveElement *  iCompound,
FWViewType::EType  viewType,
const FWViewContext vc 
) [private, virtual]

Reimplemented from FWProxyBuilderBase.

Definition at line 47 of file FWMuonRhoPhiProxyBuilder.cc.

References FWProxyBuilderBase::increaseComponentTransparency(), and FWModelId::index().

{
   increaseComponentTransparency( iId.index(), iCompound, "Chamber", 40 );
}
const FWMuonRhoPhiProxyBuilder& FWMuonRhoPhiProxyBuilder::operator= ( const FWMuonRhoPhiProxyBuilder ) [private]
FWMuonRhoPhiProxyBuilder::REGISTER_PROXYBUILDER_METHODS ( )

Member Data Documentation

Definition at line 32 of file FWMuonRhoPhiProxyBuilder.cc.

Referenced by build().