g4tools  5.4.0
Public Types | Public Member Functions | Public Attributes | List of all members
tools::histo::profile_data< TC, TO, TN, TW, TV > Class Template Reference
Inheritance diagram for tools::histo::profile_data< TC, TO, TN, TW, TV >:
Inheritance graph
[legend]
Collaboration diagram for tools::histo::profile_data< TC, TO, TN, TW, TV >:
Collaboration graph
[legend]

Public Types

typedef std::vector< TV > vs_t
 
- Public Types inherited from tools::histo::histo_data< TC, TO, TN, TW >
typedef axis< TC, TO > axis_t
 
typedef unsigned int dim_t
 
typedef std::map< std::string, std::string > annotations_t
 

Public Member Functions

 profile_data ()
 
 profile_data (const histo_data< TC, TO, TN, TW > &a_from)
 
 profile_data (const profile_data &a_from)
 
profile_dataoperator= (const profile_data &a_from)
 
virtual ~profile_data ()
 
profile_dataoperator= (const histo_data< TC, TO, TN, TW > &a_from)
 
- Public Member Functions inherited from tools::histo::histo_data< TC, TO, TN, TW >
 histo_data ()
 
 histo_data (const histo_data &a_from)
 
histo_dataoperator= (const histo_data &a_from)
 
virtual ~histo_data ()
 
void update_fast_getters ()
 
bool equals (const histo_data &a_from, const TW &a_prec, TW(*a_fabs)(TW)) const
 
bool equals_TH (const histo_data &a_from, const TW &a_prec, TW(*a_fabs)(TW), bool a_cmp_bin_Sw2) const
 

Public Attributes

bool m_is_profile
 
std::vector< TV > m_bin_Svw
 
std::vector< TV > m_bin_Sv2w
 
bool m_cut_v
 
TV m_min_v
 
TV m_max_v
 
- Public Attributes inherited from tools::histo::histo_data< TC, TO, TN, TW >
std::string m_title
 
dim_t m_dimension
 
TO m_bin_number
 
std::vector< TN > m_bin_entries
 
std::vector< TW > m_bin_Sw
 
std::vector< TW > m_bin_Sw2
 
std::vector< std::vector< TC > > m_bin_Sxw
 
std::vector< std::vector< TC > > m_bin_Sx2w
 
std::vector< axis_tm_axes
 
std::vector< TC > m_in_range_plane_Sxyw
 
std::map< std::string, std::string > m_annotations
 
TN m_all_entries
 
TN m_in_range_entries
 
TW m_in_range_Sw
 
TW m_in_range_Sw2
 
std::vector< TC > m_in_range_Sxw
 
std::vector< TC > m_in_range_Sx2w
 

Additional Inherited Members

- Protected Member Functions inherited from tools::histo::histo_data< TC, TO, TN, TW >
void reset_fast_getters ()
 

Detailed Description

template<class TC, class TO, class TN, class TW, class TV>
class tools::histo::profile_data< TC, TO, TN, TW, TV >

Definition at line 13 of file profile_data.

Member Typedef Documentation

◆ vs_t

template<class TC , class TO , class TN , class TW , class TV >
typedef std::vector<TV> tools::histo::profile_data< TC, TO, TN, TW, TV >::vs_t

Definition at line 16 of file profile_data.

Constructor & Destructor Documentation

◆ profile_data() [1/3]

template<class TC , class TO , class TN , class TW , class TV >
tools::histo::profile_data< TC, TO, TN, TW, TV >::profile_data ( )
inline

Definition at line 18 of file profile_data.

19  :parent()
20  ,m_is_profile(true)
21  ,m_cut_v(false)
22  ,m_min_v(0)
23  ,m_max_v(0)
24  {}

◆ profile_data() [2/3]

template<class TC , class TO , class TN , class TW , class TV >
tools::histo::profile_data< TC, TO, TN, TW, TV >::profile_data ( const histo_data< TC, TO, TN, TW > &  a_from)
inline

Definition at line 26 of file profile_data.

27  :parent(a_from)
28  ,m_is_profile(false)
29  ,m_cut_v(false)
30  ,m_min_v(0)
31  ,m_max_v(0)
32  {}

◆ profile_data() [3/3]

template<class TC , class TO , class TN , class TW , class TV >
tools::histo::profile_data< TC, TO, TN, TW, TV >::profile_data ( const profile_data< TC, TO, TN, TW, TV > &  a_from)
inline

Definition at line 35 of file profile_data.

36  :parent(a_from)
37  ,m_is_profile(a_from.m_is_profile)
38  ,m_bin_Svw(a_from.m_bin_Svw)
39  ,m_bin_Sv2w(a_from.m_bin_Sv2w)
40  ,m_cut_v(a_from.m_cut_v)
41  ,m_min_v(a_from.m_min_v)
42  ,m_max_v(a_from.m_max_v)
43  {}

◆ ~profile_data()

template<class TC , class TO , class TN , class TW , class TV >
virtual tools::histo::profile_data< TC, TO, TN, TW, TV >::~profile_data ( )
inlinevirtual

Definition at line 56 of file profile_data.

56 {}

Member Function Documentation

◆ operator=() [1/2]

template<class TC , class TO , class TN , class TW , class TV >
profile_data& tools::histo::profile_data< TC, TO, TN, TW, TV >::operator= ( const histo_data< TC, TO, TN, TW > &  a_from)
inline

Definition at line 59 of file profile_data.

59  {
60  //for Rio_THisogram.
62  if(&a_from==this) return *this;
63  m_is_profile = false;
64  m_bin_Svw.clear();
65  m_bin_Sv2w.clear();
66  m_cut_v = false;
67  m_min_v = 0;
68  m_max_v = 0;
69  return *this;
70  }

◆ operator=() [2/2]

template<class TC , class TO , class TN , class TW , class TV >
profile_data& tools::histo::profile_data< TC, TO, TN, TW, TV >::operator= ( const profile_data< TC, TO, TN, TW, TV > &  a_from)
inline

Definition at line 45 of file profile_data.

45  {
46  parent::operator=(a_from);
47  m_is_profile = a_from.m_is_profile;
48  m_bin_Svw = a_from.m_bin_Svw;
49  m_bin_Sv2w = a_from.m_bin_Sv2w;
50  m_cut_v = a_from.m_cut_v;
51  m_min_v = a_from.m_min_v;
52  m_max_v = a_from.m_max_v;
53  return *this;
54  }

Member Data Documentation

◆ m_bin_Sv2w

template<class TC , class TO , class TN , class TW , class TV >
std::vector<TV> tools::histo::profile_data< TC, TO, TN, TW, TV >::m_bin_Sv2w

Definition at line 75 of file profile_data.

◆ m_bin_Svw

template<class TC , class TO , class TN , class TW , class TV >
std::vector<TV> tools::histo::profile_data< TC, TO, TN, TW, TV >::m_bin_Svw

Definition at line 74 of file profile_data.

◆ m_cut_v

template<class TC , class TO , class TN , class TW , class TV >
bool tools::histo::profile_data< TC, TO, TN, TW, TV >::m_cut_v

Definition at line 76 of file profile_data.

◆ m_is_profile

template<class TC , class TO , class TN , class TW , class TV >
bool tools::histo::profile_data< TC, TO, TN, TW, TV >::m_is_profile

Definition at line 73 of file profile_data.

◆ m_max_v

template<class TC , class TO , class TN , class TW , class TV >
TV tools::histo::profile_data< TC, TO, TN, TW, TV >::m_max_v

Definition at line 78 of file profile_data.

◆ m_min_v

template<class TC , class TO , class TN , class TW , class TV >
TV tools::histo::profile_data< TC, TO, TN, TW, TV >::m_min_v

Definition at line 77 of file profile_data.


The documentation for this class was generated from the following file:
tools::histo::profile_data::m_is_profile
bool m_is_profile
Definition: profile_data:73
tools::histo::profile_data::m_bin_Sv2w
std::vector< TV > m_bin_Sv2w
Definition: profile_data:75
tools::histo::profile_data::m_min_v
TV m_min_v
Definition: profile_data:77
tools::histo::profile_data::m_cut_v
bool m_cut_v
Definition: profile_data:76
tools::histo::profile_data::m_bin_Svw
std::vector< TV > m_bin_Svw
Definition: profile_data:74
tools::histo::histo_data::operator=
histo_data & operator=(const histo_data &a_from)
Definition: histo_data:69
tools::histo::profile_data::m_max_v
TV m_max_v
Definition: profile_data:78