CMS 3D CMS Logo

Macros | Functions
TrackerDetIdSelector.cc File Reference
#include "FastSimulation/TrackingRecHitProducer/interface/TrackerDetIdSelector.h"
#include "DataFormats/SiStripDetId/interface/StripSubdetector.h"

Go to the source code of this file.

Macros

#define DETIDFCT(NAME)   NAME, [](const TrackerTopology& trackerTopology, const DetId& detId) -> int
 
#define TOPOFCT(NAME)   #NAME, [](const TrackerTopology& trackerTopology, const DetId& detId) -> int { return trackerTopology.NAME(detId); }
 

Functions

ExpressionAST operator!= (ExpressionAST const &lhs, ExpressionAST const &rhs)
 
ExpressionAST operator&& (ExpressionAST const &lhs, ExpressionAST const &rhs)
 
ExpressionAST operator< (ExpressionAST const &lhs, ExpressionAST const &rhs)
 
ExpressionAST operator<= (ExpressionAST const &lhs, ExpressionAST const &rhs)
 
ExpressionAST operator== (ExpressionAST const &lhs, ExpressionAST const &rhs)
 
ExpressionAST operator> (ExpressionAST const &lhs, ExpressionAST const &rhs)
 
ExpressionAST operator>= (ExpressionAST const &lhs, ExpressionAST const &rhs)
 
ExpressionAST operator|| (ExpressionAST const &lhs, ExpressionAST const &rhs)
 

Macro Definition Documentation

◆ DETIDFCT

#define DETIDFCT (   NAME)    NAME, [](const TrackerTopology& trackerTopology, const DetId& detId) -> int

Definition at line 5 of file TrackerDetIdSelector.cc.

◆ TOPOFCT

#define TOPOFCT (   NAME)    #NAME, [](const TrackerTopology& trackerTopology, const DetId& detId) -> int { return trackerTopology.NAME(detId); }

Definition at line 7 of file TrackerDetIdSelector.cc.

Function Documentation

◆ operator!=()

ExpressionAST operator!= ( ExpressionAST const &  lhs,
ExpressionAST const &  rhs 
)

Definition at line 102 of file TrackerDetIdSelector.cc.

102  {
104  return ast;
105 }

References BinaryOP::NOT_EQUAL.

◆ operator&&()

ExpressionAST operator&& ( ExpressionAST const &  lhs,
ExpressionAST const &  rhs 
)

Definition at line 107 of file TrackerDetIdSelector.cc.

107  {
108  ExpressionAST ast = BinaryOP(BinaryOP::OP::AND, lhs, rhs);
109  return ast;
110 }

References BinaryOP::AND.

◆ operator<()

ExpressionAST operator< ( ExpressionAST const &  lhs,
ExpressionAST const &  rhs 
)

Definition at line 97 of file TrackerDetIdSelector.cc.

97  {
98  ExpressionAST ast = BinaryOP(::BinaryOP::OP::LESS, lhs, rhs);
99  return ast;
100 }

References BinaryOP::LESS.

◆ operator<=()

ExpressionAST operator<= ( ExpressionAST const &  lhs,
ExpressionAST const &  rhs 
)

Definition at line 92 of file TrackerDetIdSelector.cc.

92  {
94  return ast;
95 }

References BinaryOP::LESS_EQUAL.

◆ operator==()

ExpressionAST operator== ( ExpressionAST const &  lhs,
ExpressionAST const &  rhs 
)

Definition at line 87 of file TrackerDetIdSelector.cc.

87  {
89  return ast;
90 }

References BinaryOP::EQUAL.

◆ operator>()

ExpressionAST operator> ( ExpressionAST const &  lhs,
ExpressionAST const &  rhs 
)

Definition at line 77 of file TrackerDetIdSelector.cc.

77  {
79  return ast;
80 }

References BinaryOP::GREATER.

◆ operator>=()

ExpressionAST operator>= ( ExpressionAST const &  lhs,
ExpressionAST const &  rhs 
)

Definition at line 82 of file TrackerDetIdSelector.cc.

82  {
84  return ast;
85 }

References BinaryOP::GREATER_EQUAL.

◆ operator||()

ExpressionAST operator|| ( ExpressionAST const &  lhs,
ExpressionAST const &  rhs 
)

Definition at line 112 of file TrackerDetIdSelector.cc.

112  {
113  ExpressionAST ast = BinaryOP(BinaryOP::OP::OR, lhs, rhs);
114  return ast;
115 }

References BinaryOP::OR.

BinaryOP::OP::LESS
ExpressionAST
Definition: TrackerDetIdSelector.h:26
BinaryOP::OP::LESS_EQUAL
BinaryOP::OP::OR
BinaryOP::OP::AND
BinaryOP::OP::GREATER_EQUAL
BinaryOP::OP::GREATER
BinaryOP
Definition: TrackerDetIdSelector.h:56
BinaryOP::OP::NOT_EQUAL
BinaryOP::OP::EQUAL