Skip to content

Commit

Permalink
changed default MET type to be metNoHF; changed color to make it easi…
Browse files Browse the repository at this point in the history
…er to distinguish MET by color from similar objects (electrons); added a way to disable text view (uncomment if (debug) if you want to allow text view only in the debug mode)
  • Loading branch information
Dmytro Kovalskyi committed Jun 24, 2008
1 parent 7843702 commit 3f1d47b
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions Fireworks/Core/src/CmsShowMain.cc
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
//
// Original Author:
// Created: Mon Dec 3 08:38:38 PST 2007
// $Id: CmsShowMain.cc,v 1.6 2008/06/23 15:51:58 chrjones Exp $
// $Id: CmsShowMain.cc,v 1.7 2008/06/23 23:01:10 dmytro Exp $
//

// system include files
Expand Down Expand Up @@ -91,7 +91,7 @@ CmsShowMain::CmsShowMain(int argc, char *argv[]) :
m_changeManager.get(),
false)),
m_viewManager( new FWViewManagerManager(m_changeManager.get())),
m_textView(new FWTextView(this, &*m_selectionManager, &*m_guiManager))
m_textView(0)
// m_configFileName(iConfigFileName)
{
namespace po = boost::program_options;
Expand Down Expand Up @@ -133,7 +133,9 @@ CmsShowMain::CmsShowMain(int argc, char *argv[]) :
m_geomFileName = "cmsGeom10.root";
}
bool debugMode = vm.count("debug");


// if ( debugMode )
m_textView = std::auto_ptr<FWTextView>( new FWTextView(this, &*m_selectionManager, &*m_guiManager) );

printf("Input: %s\n", m_inputFileName.c_str());
printf("Config: %s\n", m_configFileName.c_str());
Expand Down Expand Up @@ -265,8 +267,8 @@ CmsShowMain::CmsShowMain(int argc, char *argv[]) :
FWPhysicsObjectDesc mets("METs",
TClass::GetClass("reco::CaloMETCollection"),
"METs",
FWDisplayProperties(kCyan),
"met",
FWDisplayProperties(kRed),
"metNoHF",
"",
"",
"",
Expand Down

0 comments on commit 3f1d47b

Please sign in to comment.