Skip to content

Commit

Permalink
Merge pull request #27008 from cms-sw/revert-27001-tau-clear
Browse files Browse the repository at this point in the history
Temporarily revert "Fireworks :  Remove unused code in FWTauProxyBuilderBase"
  • Loading branch information
cmsbuild committed May 30, 2019
2 parents 5f7bb79 + 2ceef8f commit d503107
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Fireworks/Calo/src/FWTauProxyBuilderBase.cc
Expand Up @@ -95,6 +95,10 @@ FWTauProxyBuilderBase::buildBaseTau( const reco::BaseTau& iTau, const reco::Jet*
std::pair<double,double> phiRange = fireworks::getPhiRange( m_phis, phi );
double min_phi = phiRange.first-M_PI/36/2;
double max_phi = phiRange.second+M_PI/36/2;
if( fabs(phiRange.first-phiRange.first)<1e-3 ) {
min_phi = phi-M_PI/36/2;
max_phi = phi+M_PI/36/2;
}
TEveGeoManagerHolder gmgr(TEveGeoShape::GetGeoMangeur());
TGeoBBox *sc_box = new TGeoTubeSeg(ecalR - 1, ecalR + 1, 1, min_phi * 180 / M_PI, max_phi * 180 / M_PI);
TEveGeoShape *shape = fireworks::getShape( "spread", sc_box, item()->defaultDisplayProperties().color() );
Expand Down

0 comments on commit d503107

Please sign in to comment.