Skip to content

Commit 983fc6d

Browse files
aljalinev
authored andcommitted
Correct comments and prints.
1 parent 29c14f3 commit 983fc6d

6 files changed

Lines changed: 5 additions & 8 deletions

File tree

graf3d/eve7/inc/ROOT/REveCamera.hxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,4 +92,4 @@ public:
9292
} // namespace Experimental
9393
} // namespace ROOT
9494

95-
#endif
95+
#endif

graf3d/eve7/inc/ROOT/REveManager.hxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ public:
182182

183183
REveSceneList *GetScenes() const { return fScenes; }
184184
REveViewerList *GetViewers() const { return fViewers; }
185-
REveElement *GetCameras() const { return fCameras; } //yuxiao
185+
REveElement *GetCameras() const { return fCameras; }
186186

187187
REveScene *GetGlobalScene() const { return fGlobalScene; }
188188
REveScene *GetEventScene() const { return fEventScene; }

graf3d/eve7/inc/ROOT/REveViewer.hxx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ namespace ROOT {
1919
namespace Experimental {
2020

2121
class REveScene;
22-
// class REveCamera; // yuxiao
2322

2423
////////////////////////////////////////////////////////////////////////////////
2524
/// REveViewer

graf3d/eve7/src/REveCamera.cxx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,5 +133,3 @@ Int_t REveCamera::WriteCoreJson(nlohmann::json &j, Int_t rnr_offset)
133133

134134
return ret;
135135
}
136-
137-
ClassImp(REveCamera);

graf3d/eve7/src/REveManager.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -999,7 +999,7 @@ void REveManager::ExecuteMIR(std::shared_ptr<MIR> mir)
999999
// std::cout << cmd.str() << std::endl;
10001000
// gROOT->ProcessLine(cmd.str().c_str());
10011001
} catch (std::exception &e) {
1002-
std::cout << "caught exception executing " << tag << ": " << e.what();
1002+
R__LOG_ERROR(REveLog()) << "caught exception executing " << tag << ": " << e.what();
10031003
} catch (...) {
10041004
R__LOG_ERROR(REveLog()) << "caught unknown execption.";
10051005
}

graf3d/eve7/src/REveViewer.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ void REveViewer::SetMandatory(bool x)
171171
}
172172

173173
////////////////////////////////////////////////////////////////////////////////
174-
/// Set camera reference by ID, yuxiao
174+
/// Set camera reference
175175

176176
void REveViewer::SetCamera(::ROOT::Experimental::REveCamera *cam)
177177
{
@@ -440,4 +440,4 @@ REveCamera *REveViewer::CreateCamera(ECameraType type)
440440
}
441441

442442
return cam;
443-
}
443+
}

0 commit comments

Comments
 (0)