ra4_draw
4bd0201e3d922d42bd545d4b045ed44db33454a4
|
#include <event_scan.hpp>
Classes | |
class | SingleScan |
Public Member Functions | |
EventScan (const std::string &name, const NamedFunc &cut, const std::vector< NamedFunc > &columns, const std::vector< std::shared_ptr< Process > > &processes, unsigned precision=10) | |
EventScan (EventScan &&)=default | |
EventScan & | operator= (EventScan &&)=default |
~EventScan ()=default | |
void | Print (double luminosity, const std::string &subdir) final |
std::set< const Process * > | GetProcesses () const final |
FigureComponent * | GetComponent (const Process *process) final |
unsigned | Precision () const |
EventScan & | Precision (unsigned precision) |
Public Member Functions inherited from Figure | |
Figure ()=default | |
Figure (const Figure &)=default | |
Figure & | operator= (const Figure &)=default |
Figure (Figure &&)=default | |
Figure & | operator= (Figure &&)=default |
virtual | ~Figure ()=default |
Public Attributes | |
std::string | name_ |
Name of scan for saving to file. More... | |
NamedFunc | cut_ |
Cut restricting printed events/objects. More... | |
std::vector< NamedFunc > | columns_ |
Variables to print. More... | |
Private Member Functions | |
EventScan (const EventScan &)=delete | |
EventScan & | operator= (const EventScan &)=delete |
EventScan ()=delete | |
Private Attributes | |
std::vector< std::unique_ptr< SingleScan > > | scans_ |
One scan for each process. More... | |
unsigned | precision_ |
Decimal places to print. More... | |
unsigned | width_ |
Width of column in characters. Determined from precision. More... | |
Definition at line 12 of file event_scan.hpp.
EventScan::EventScan | ( | const std::string & | name, |
const NamedFunc & | cut, | ||
const std::vector< NamedFunc > & | columns, | ||
const std::vector< std::shared_ptr< Process > > & | processes, | ||
unsigned | precision = 10 |
||
) |
|
default |
|
default |
|
privatedelete |
|
privatedelete |
Referenced by EventScan::SingleScan::Precision().
|
finalvirtual |
|
finalvirtual |
unsigned EventScan::Precision | ( | ) | const |
Definition at line 119 of file event_scan.cpp.
References precision_.
EventScan & EventScan::Precision | ( | unsigned | precision | ) |
Definition at line 123 of file event_scan.cpp.
References precision_, scans_, and width_.
|
finalvirtual |
Implements Figure.
Definition at line 97 of file event_scan.cpp.
References CodeToPlainText(), name_, and scans_.
std::vector<NamedFunc> EventScan::columns_ |
Variables to print.
Definition at line 59 of file event_scan.hpp.
Referenced by EventScan::SingleScan::Precision(), and EventScan::SingleScan::RecordEvent().
NamedFunc EventScan::cut_ |
Cut restricting printed events/objects.
Definition at line 58 of file event_scan.hpp.
Referenced by EventScan::SingleScan::Precision().
std::string EventScan::name_ |
Name of scan for saving to file.
Definition at line 57 of file event_scan.hpp.
Referenced by EventScan::SingleScan::Precision(), and Print().
|
private |
Decimal places to print.
Definition at line 63 of file event_scan.hpp.
Referenced by EventScan::SingleScan::Precision(), and Precision().
|
private |
One scan for each process.
Definition at line 62 of file event_scan.hpp.
Referenced by GetComponent(), GetProcesses(), EventScan::SingleScan::Precision(), Precision(), and Print().
|
private |
Width of column in characters. Determined from precision.
Definition at line 64 of file event_scan.hpp.
Referenced by EventScan::SingleScan::Precision(), Precision(), and EventScan::SingleScan::RecordEvent().