Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
PdbParameterMapContainer.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PdbParameterMapContainer.h
1
#ifndef PDBCAL_BASE_PDBPARAMETERMAPCONTAINER_H
2
#define PDBCAL_BASE_PDBPARAMETERMAPCONTAINER_H
3
4
#include "
PdbCalChan.h
"
5
6
#include <map>
7
#include <string>
8
#include <utility>
9
10
class
PdbParameterMap
;
11
12
class
PdbParameterMapContainer
:
public
PdbCalChan
13
{
14
public
:
15
typedef
std::map<int, PdbParameterMap *>
parMap
;
16
typedef
parMap::const_iterator
parIter
;
17
typedef
std::pair<parIter, parIter>
parConstRange
;
18
19
PdbParameterMapContainer
() {}
20
~PdbParameterMapContainer
()
override
;
21
22
void
print
()
const override
;
23
24
void
Reset
()
override
;
25
26
void
AddPdbParameterMap
(
const
int
layer
,
PdbParameterMap
*params);
27
const
PdbParameterMap
*
GetParameters
(
const
int
layer
)
const
;
28
PdbParameterMap
*
GetParametersToModify
(
const
int
layer
);
29
parConstRange
get_ParameterMaps
()
const
{
return
make_pair(
parametermap
.begin(),
parametermap
.end()); }
30
32
int
WriteToFile
(
const
std::string
&detector_name,
const
std::string
&
extension
,
const
std::string
&dir =
"."
);
33
34
protected
:
35
std::map<int, PdbParameterMap *>
parametermap
;
36
37
ClassDefOverride
(
PdbParameterMapContainer
, 1)
38
};
39
40
#endif
coresoftware
blob
master
offline
database
pdbcal
base
PdbParameterMapContainer.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:04
using
1.8.2 with
sPHENIX GitHub integration