![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef RegionLogicalOperation_H
6 #define RegionLogicalOperation_H
28 bool AddRegion(std::unique_ptr<RegionSelectorBase> region,
bool invert =
false);
41 void Print(std::ostream &
os)
const;
45 std::vector<std::unique_ptr<RegionSelectorBase> >
m_regions;
bool AddOperator(bool op)
Set next operator.
RegionLogicalOperation()=default
Constructor.
std::vector< bool > m_inverse
inverse region selection
virtual ~RegionLogicalOperation()=default
Destructor.
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.
bool AddRegion(std::unique_ptr< RegionSelectorBase > region, bool invert=false)
Add a region to the operation.
void Print(std::ostream &os) const
character output of region
bool Result(const MuonFixedId ®ion) const
return the reslut of the logical operation
bool SurplusOperator() const
check for surplus operators
std::vector< std::unique_ptr< RegionSelectorBase > > m_regions
region data
std::vector< bool > m_operator
region operator - true=or false=and