SourceXtractorPlusPlus  0.15
Please provide a description of the project.
VignetArraySourceTask.cpp
Go to the documentation of this file.
1 
21 
22 namespace SourceXtractor {
23 
25 }
26 
29  for (auto img_idx : m_images) {
30  vignets.emplace_back(source.getProperty<Vignet>(img_idx));
31  }
32  source.setProperty<VignetArray>(vignets);
33 }
34 
35 } // end of namespace SourceXtractor
SourceXtractor::VignetArraySourceTask::computeProperties
void computeProperties(SourceInterface &source) const override
Computes one or more properties for the Source.
Definition: VignetArraySourceTask.cpp:27
SourceXtractor::VignetArraySourceTask::m_images
std::vector< unsigned > m_images
Definition: VignetArraySourceTask.h:34
std::vector< unsigned >
Vignet.h
VignetArray.h
SourceXtractor::Vignet
Definition: Vignet.h:33
SourceXtractor::VignetArray
Definition: VignetArray.h:29
SourceXtractor
Definition: Aperture.h:30
VignetArraySourceTask.h
std::vector::emplace_back
T emplace_back(T... args)
SourceXtractor::VignetArraySourceTask::VignetArraySourceTask
VignetArraySourceTask(const std::vector< unsigned > images)
Definition: VignetArraySourceTask.cpp:24
SourceXtractor::SourceInterface::getProperty
const PropertyType & getProperty(unsigned int index=0) const
Convenience template method to call getProperty() with a more user-friendly syntax.
Definition: SourceInterface.h:57
SourceXtractor::SourceInterface
The SourceInterface is an abstract "source" that has properties attached to it.
Definition: SourceInterface.h:46
SourceXtractor::SourceInterface::setProperty
void setProperty(Args... args)
Definition: SourceInterface.h:72