Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
Related Functions
:
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
v
w
x
z
Files
File List
File Members
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
v
x
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
GitLab
LXR
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
graphics
VP1
VP1Gui
src
VP1AvailEvtsLocalDir.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
7
// //
8
// Implementation of class VP1AvailEvtsLocalDir //
9
// //
10
// Author: Thomas H. Kittelmann (Thomas.Kittelmann@cern.ch) //
11
// Initial version: May 2008 //
12
// //
14
15
#include "
VP1Gui/VP1AvailEvtsLocalDir.h
"
16
#include "
VP1LocalEvtRetriever.h
"
17
18
#include <QStringList>
19
20
//____________________________________________________________________
21
class
VP1AvailEvtsLocalDir::Imp
{
22
public
:
23
Imp
(
const
QString&
sd
) :
sourcedir
(
sd
),
retriever
(0) {}
24
QString
sourcedir
;
25
static
unsigned
ntmpdlcount
;
26
QStringList
availablesourcedirs
;
27
VP1LocalEvtRetriever
*
retriever
;
28
};
29
30
unsigned
VP1AvailEvtsLocalDir::Imp::ntmpdlcount
= 0;
31
32
//____________________________________________________________________
33
VP1AvailEvtsLocalDir::VP1AvailEvtsLocalDir
(
int
timeCutForNew,
34
const
QString& sourcedir,
35
const
QString& tmpcopydir,
36
int
maxLocalFilesToKeep,
37
QObject *
parent
)
38
:
VP1AvailEvents
(timeCutForNew,tmpcopydir,maxLocalFilesToKeep,
parent
),
39
m_d(
new
Imp
(sourcedir+(sourcedir.
endsWith
(
"/"
)?
""
:
"/"
)))
40
{
41
}
42
43
44
//____________________________________________________________________
45
void
VP1AvailEvtsLocalDir::init
()
46
{
47
m_d
->
retriever
=
new
VP1LocalEvtRetriever
(
this
,
m_d
->
sourcedir
);
// Memleak
48
m_d
->
retriever
->start();
49
}
50
51
//____________________________________________________________________
52
VP1AvailEvtsLocalDir::~VP1AvailEvtsLocalDir
()
53
{
54
delete
m_d
;
55
}
56
57
//____________________________________________________________________
58
const
QString&
VP1AvailEvtsLocalDir::currentSourceDir
()
const
59
{
60
return
m_d
->
sourcedir
;
61
}
62
63
//____________________________________________________________________
64
void
VP1AvailEvtsLocalDir::setSourceDir
(
const
QString&
dir
)
65
{
66
m_d
->
retriever
->
setSourceDir
(
dir
);
67
m_d
->
sourcedir
=
dir
;
68
}
69
70
//____________________________________________________________________
71
void
VP1AvailEvtsLocalDir::setAvailableSourceDirectories
(
const
QStringList&
l
)
72
{
73
m_d
->
availablesourcedirs
=
l
;
74
}
75
76
77
//____________________________________________________________________
78
const
QStringList&
VP1AvailEvtsLocalDir::availableSourceDirectories
()
const
79
{
80
return
m_d
->
availablesourcedirs
;
81
}
VP1LocalEvtRetriever.h
VP1AvailEvtsLocalDir::availableSourceDirectories
const QStringList & availableSourceDirectories() const
Definition:
VP1AvailEvtsLocalDir.cxx:78
VP1AvailEvtsLocalDir::Imp::availablesourcedirs
QStringList availablesourcedirs
Definition:
VP1AvailEvtsLocalDir.cxx:26
CSV_InDetExporter.new
new
Definition:
CSV_InDetExporter.py:145
VP1AvailEvtsLocalDir::VP1AvailEvtsLocalDir
VP1AvailEvtsLocalDir(int timeCutForNew, const QString &sourcedir, const QString &tmpcopydir, int maxLocalFilesToKeep=-1, QObject *parent=0)
Definition:
VP1AvailEvtsLocalDir.cxx:33
UploadAMITag.l
list l
Definition:
UploadAMITag.larcaf.py:158
VP1AvailEvtsLocalDir::Imp::ntmpdlcount
static unsigned ntmpdlcount
Definition:
VP1AvailEvtsLocalDir.cxx:25
endsWith
bool endsWith(const std::string &value, const std::string &ending)
Definition:
EventViewCreatorAlgorithm.cxx:176
python.selector.AtlRunQuerySelectorLhcOlc.sd
sd
Definition:
AtlRunQuerySelectorLhcOlc.py:612
VP1AvailEvtsLocalDir::Imp::Imp
Imp(const QString &sd)
Definition:
VP1AvailEvtsLocalDir.cxx:23
VP1AvailEvtsLocalDir::Imp
Definition:
VP1AvailEvtsLocalDir.cxx:21
VP1AvailEvtsLocalDir::init
virtual void init()
Definition:
VP1AvailEvtsLocalDir.cxx:45
VP1AvailEvtsLocalDir::currentSourceDir
const QString & currentSourceDir() const
Definition:
VP1AvailEvtsLocalDir.cxx:58
VP1AvailEvtsLocalDir.h
VP1AvailEvtsLocalDir::Imp::sourcedir
QString sourcedir
Definition:
VP1AvailEvtsLocalDir.cxx:24
test_pyathena.parent
parent
Definition:
test_pyathena.py:15
VP1AvailEvtsLocalDir::m_d
Imp * m_d
Definition:
VP1AvailEvtsLocalDir.h:49
VP1AvailEvtsLocalDir::setSourceDir
void setSourceDir(const QString &)
Definition:
VP1AvailEvtsLocalDir.cxx:64
beamspotman.dir
string dir
Definition:
beamspotman.py:623
VP1LocalEvtRetriever
Definition:
VP1LocalEvtRetriever.h:16
VP1LocalEvtRetriever::setSourceDir
void setSourceDir(QString)
Definition:
VP1LocalEvtRetriever.cxx:109
VP1AvailEvtsLocalDir::Imp::retriever
VP1LocalEvtRetriever * retriever
Definition:
VP1AvailEvtsLocalDir.cxx:27
VP1AvailEvtsLocalDir::setAvailableSourceDirectories
void setAvailableSourceDirectories(const QStringList &)
Definition:
VP1AvailEvtsLocalDir.cxx:71
VP1AvailEvtsLocalDir::~VP1AvailEvtsLocalDir
virtual ~VP1AvailEvtsLocalDir()
Definition:
VP1AvailEvtsLocalDir.cxx:52
VP1AvailEvents
Definition:
VP1AvailEvents.h:25
VP1AvailEvtsLocalDir::VP1LocalEvtRetriever
friend class VP1LocalEvtRetriever
Definition:
VP1AvailEvtsLocalDir.h:30
Generated on Sat Mar 29 2025 21:22:10 for ATLAS Offline Software by
1.8.18