Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 46333
b: "refs/heads/CMSSW_7_1_X"
c: 0d45399
h: "refs/heads/CMSSW_7_1_X"
i:
  46331: 9abcef1
v: v3
  • Loading branch information
Dmytro Kovalskyi committed Jun 23, 2008
1 parent f14ab14 commit 440b476
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
---
refs/heads/gh-pages: ac155dadd83efa75cad55c0508a57a2b9dd3d66c
"refs/heads/CMSSW_7_1_X": 1f6a6e9d2e3bbad78d0391e378b5b36b1f042e6a
"refs/heads/CMSSW_7_1_X": 0d453998272b3a69fd6cd86f985474d23b85cc04
14 changes: 7 additions & 7 deletions trunk/Fireworks/Calo/src/CaloJetProxyRhoPhiZ2DBuilder.cc
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
//
// Original Author:
// Created: Sun Jan 6 23:57:00 EST 2008
// $Id: CaloJetProxyRhoPhiZ2DBuilder.cc,v 1.9 2008/06/09 19:54:03 chrjones Exp $
// $Id: CaloJetProxyRhoPhiZ2DBuilder.cc,v 1.10 2008/06/10 22:31:08 chrjones Exp $
//

// system include files
Expand All @@ -22,7 +22,7 @@
#include "TColor.h"
#include "TROOT.h"
#include "TEvePointSet.h"
#include "TEveStraightLineSet.h"
#include "TEveScalableStraightLineSet.h"
#include "TEveCompound.h"
#include <boost/shared_ptr.hpp>
#include <boost/mem_fn.hpp>
Expand All @@ -36,7 +36,7 @@

#include "DataFormats/JetReco/interface/CaloJet.h"
#include "DataFormats/JetReco/interface/CaloJet.h"
#include "Fireworks/Core/interface/FWDisplayEvent.h"
#include "Fireworks/Core/interface/FWRhoPhiZView.h"

//
// constants, enums and typedefs
Expand Down Expand Up @@ -88,7 +88,7 @@ CaloJetProxyRhoPhiZ2DBuilder::buildRhoPhi(const FWEventItem* iItem,
}

double r_ecal = 126;
double scale = FWDisplayEvent::getCaloScale();
double scale = 1; //m_caloScale;
if ( scale < 0 ) scale = 2;
//double minJetEt = 15;
double minJetEt = 0;
Expand All @@ -112,7 +112,7 @@ CaloJetProxyRhoPhiZ2DBuilder::buildRhoPhi(const FWEventItem* iItem,
TEveGeoShapeExtract *sc = fw::getShapeExtract( "spread", sc_box, iItem->defaultDisplayProperties().color() );

if ( jet->et() > minJetEt ) {
TEveStraightLineSet* marker = new TEveStraightLineSet("energy");
TEveScalableStraightLineSet* marker = new TEveScalableStraightLineSet("energy");
marker->SetLineWidth(4);
marker->SetLineColor( iItem->defaultDisplayProperties().color() );
TEveElement* element = TEveGeoShape::ImportShapeExtract(sc, 0);
Expand Down Expand Up @@ -154,7 +154,7 @@ CaloJetProxyRhoPhiZ2DBuilder::buildRhoZ(const FWEventItem* iItem,
static const std::vector<std::pair<double,double> > thetaBins = ECalCaloTowerProxyRhoPhiZ2DBuilder::getThetaBins();


double scale = FWDisplayEvent::getCaloScale();
double scale = 1; //m_caloScale;
if ( scale < 0 ) scale = 2;
double z_ecal = 306; // ECAL endcap inner surface
double r_ecal = 126;
Expand Down Expand Up @@ -190,7 +190,7 @@ CaloJetProxyRhoPhiZ2DBuilder::buildRhoZ(const FWEventItem* iItem,
double size = scale*jet->et();

if ( jet->et() > minJetEt ) {
TEveStraightLineSet* marker = new TEveStraightLineSet("energy");
TEveScalableStraightLineSet* marker = new TEveScalableStraightLineSet("energy");
marker->SetLineWidth(4);
marker->SetLineColor( iItem->defaultDisplayProperties().color() );
marker->AddLine(0., (jet->phi()>0 ? r*fabs(sin(theta)) : -r*fabs(sin(theta))), r*cos(theta),
Expand Down

0 comments on commit 440b476

Please sign in to comment.