Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
Root
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
为了安全,强烈建议开启2FA双因子认证:User Settings -> Account -> Enable two-factor authentication!!!
Show more breadcrumbs
cxwx
Root
Commits
8a4e140f
Commit
8a4e140f
authored
5 years ago
by
alja
Committed by
Sergey Linev
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Addapt to changes in inc/ROOT/REveDataSimpleProxyBuilderTemplate
parent
dc36828d
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tutorials/eve7/collection_proxies.C
+3
-3
3 additions, 3 deletions
tutorials/eve7/collection_proxies.C
with
3 additions
and
3 deletions
tutorials/eve7/collection_proxies.C
+
3
−
3
View file @
8a4e140f
...
...
@@ -145,10 +145,10 @@ public:
//==============================================================================
class
XYJetProxyBuilder
:
public
REX
::
REveDataSimpleProxyBuilderTemplate
<
XYJet
>
{
virtual
bool
HaveSingleProduct
()
const
{
return
false
;
}
bool
HaveSingleProduct
()
const
override
{
return
false
;
}
using
REveDataSimpleProxyBuilderTemplate
<
XYJet
>::
BuildViewType
;
virtual
void
BuildViewType
(
const
XYJet
&
dj
,
int
/*idx*/
,
REX
::
REveElement
*
iItemHolder
,
std
::
string
viewType
,
const
REX
::
REveViewContext
*
context
)
void
BuildViewType
(
const
XYJet
&
dj
,
int
/*idx*/
,
REX
::
REveElement
*
iItemHolder
,
std
::
string
viewType
,
const
REX
::
REveViewContext
*
context
)
override
{
auto
jet
=
new
REX
::
REveJetCone
();
jet
->
SetCylinder
(
context
->
GetMaxR
(),
context
->
GetMaxZ
());
...
...
@@ -206,7 +206,7 @@ class XYJetProxyBuilder: public REX::REveDataSimpleProxyBuilderTemplate<XYJet>
class
TrackProxyBuilder
:
public
REX
::
REveDataSimpleProxyBuilderTemplate
<
TParticle
>
{
using
REveDataSimpleProxyBuilderTemplate
<
TParticle
>::
Build
;
virtual
void
Build
(
const
TParticle
&
p
,
int
/*idx*/
,
REX
::
REveElement
*
iItemHolder
,
const
REX
::
REveViewContext
*
context
)
void
Build
(
const
TParticle
&
p
,
int
/*idx*/
,
REX
::
REveElement
*
iItemHolder
,
const
REX
::
REveViewContext
*
context
)
override
{
const
TParticle
*
x
=
&
p
;
// printf("============== BUILD track %s (pt=%f, eta=%f) \n", iItemHolder->GetCName(), p.Pt(), p.Eta());
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment