File: MyRunClass.h

package info (click to toggle)
hepmc3 3.1.2-2.1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 14,124 kB
  • sloc: fortran: 66,849; cpp: 13,604; ansic: 1,374; xml: 109; sh: 72; makefile: 33
file content (32 lines) | stat: -rw-r--r-- 574 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#ifndef MYRUNCLASS_H
#define MYRUNCLASS_H

#include "HepMC3/GenRunInfo.h"
using namespace HepMC3;
/** @class MyRunClass
 *  @brief Sample class for root I/O test
 */
class MyRunClass {
public:

    /// @brief Default constructor
    MyRunClass();

    /// @brief Set HepMC event
    void SetRunInfo(GenRunInfo*);

    /// @brief Get HepMC event
    GenRunInfo* GetRunInfo();

    /// @brief Set someint
    void SetInt(int);

    /// @brief Get someint
    int GetInt();

private:
    int someint;            ///< Test int
    GenRunInfo* run; ///< Test run info
};

#endif