GRSISort
"v4.0.0.5"
An extension of the ROOT analysis Framework
Loading...
Searching...
No Matches
TObjectWrapper.h
Go to the documentation of this file.
1
// Author: Ryan Dunlop 10/16
2
3
/** \addtogroup GRSIProof
4
* @{
5
*/
6
7
#ifndef TOBJECTWRAPPER_H
8
#define TOBJECTWRAPPER_H
9
10
#include "
Globals.h
"
11
12
#include <iostream>
13
#include <sstream>
14
#include <vector>
15
#include <ctime>
16
#include <fstream>
17
#include <streambuf>
18
19
#include "
TFragment.h
"
20
21
/////////////////////////////////////////////////////////////////
22
///
23
/// \class TObjectWrapper
24
///
25
/// This Class allows proof to work with GRSI
26
///
27
///
28
/////////////////////////////////////////////////////////////////
29
30
template
<
typename
T>
31
class
TObjectWrapper
:
public
TObject {
32
public
:
33
explicit
TObjectWrapper
(T* ptr) :
pT
(ptr) {}
34
T*
operator->
() {
return
pT
; }
35
36
private
:
37
T*
pT
;
38
39
/// \cond CLASSIMP
40
ClassDefOverride(
TObjectWrapper
, 1)
// NOLINT(readability-else-after-return)
41
/// \endcond
42
};
43
/*! @} */
44
#endif
Globals.h
TFragment.h
TObjectWrapper
Definition
TObjectWrapper.h:31
TObjectWrapper::TObjectWrapper
TObjectWrapper(T *ptr)
Definition
TObjectWrapper.h:33
TObjectWrapper::operator->
T * operator->()
Definition
TObjectWrapper.h:34
TObjectWrapper::pT
T * pT
Definition
TObjectWrapper.h:37
include
TObjectWrapper.h
GRSISort ("v4.0.0.5") Reference Guide Generated on Mon Feb 3 2025 16:38:05.