Belle II Software development
geometry.h File Reference

This file was meant to contain several (relatively) short auxiliary functions that depend on geometric properties of the calorimeter and specific parameters of COPPER. More...

Go to the source code of this file.

Namespaces

namespace  Belle2
 Abstract base class for different kinds of events.
 

Functions

void SetMode (int i)
 Changes between display of events (0) and energy (1).
 
int GetMode ()
 Returns current displayed mode (0 shows event count, 1 shows total energy)
 

Detailed Description

This file was meant to contain several (relatively) short auxiliary functions that depend on geometric properties of the calorimeter and specific parameters of COPPER.

Now it only contains getter/setter for the mode of display. I plan to move it either to EclFrame or EclData.

Definition in file geometry.h.

Function Documentation

◆ GetMode()

int GetMode ( )

Returns current displayed mode (0 shows event count, 1 shows total energy)

Definition at line 19 of file geometry.cc.

20{
21 return do_energy_count;
22}

◆ SetMode()

void SetMode ( int  i)

Changes between display of events (0) and energy (1).

Definition at line 15 of file geometry.cc.

16{
17 do_energy_count = i;
18}