Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
data2Tree.hxx
Go to the documentation of this file.
1// Author: Alvaro Tolosa-Delgado CERN 07/2023
2// Author: Jorge Agramunt Ros IFIC(Valencia,Spain) 07/2023
3
4/*************************************************************************
5 * Copyright (C) 1995-2023, Rene Brun and Fons Rademakers. *
6 * All rights reserved. *
7 * *
8 * For the licensing terms see $ROOTSYS/LICENSE. *
9 * For the list of contributors see $ROOTSYS/README/CREDITS. *
10 *************************************************************************/
11
12// This file declares a class, with some members and method
13// The definition of the method is done in the corresponding .cpp file
14
15#ifndef __data2Tree__
16#define __data2Tree__
17
18#include <vector>
19
21public:
22 //-- Example of method...
23 void clear();
24
25 //-- Class members
26 //-- initialized by construction, C++11
27 double time = 1;
28 double energy = 2;
29 int detectorID = 3;
30 std::vector<double> correlatedDetectors_v = {1, 2, 3};
31};
32
33#endif
std::vector< double > correlatedDetectors_v
Definition data2Tree.hxx:30