File-based data source for tests: detector() gets a Detector from getDetector() and events() iterates over array files in a directory.
More...
#include <DataSourceSimulator.hh>
File-based data source for tests: detector() gets a Detector from getDetector() and events() iterates over array files in a directory.
◆ DataSourceSimulator() [1/2]
| detector::DataSourceSimulator::DataSourceSimulator |
( |
const char * |
dirname = "/reg/neh/home/dubrovin/LCLS/con-detector/work/", |
|
|
const char * |
pattern = 0 |
|
) |
| |
|
inline |
Create the event iterator over dirname and pattern.
The default dirname is a hard-coded /reg/neh/home/dubrovin path.
◆ ~DataSourceSimulator()
| virtual detector::DataSourceSimulator::~DataSourceSimulator |
( |
| ) |
|
|
inlinevirtual |
Destructor; does nothing.
◆ DataSourceSimulator() [2/2]
Copy construction is disabled.
◆ detector()
| Detector * detector::DataSourceSimulator::detector |
( |
const std::string & |
detname | ) |
|
|
inline |
Return getDetector(detname), which gives NULL for names that are not area detectors.
◆ events()
Return the event iterator.
◆ operator=()
Copy assignment is disabled.
The documentation for this class was generated from the following file: