CMS 3D CMS Logo

Macros | Functions
TrackerDetIdSelector.cc File Reference
#include "FastSimulation/TrackingRecHitProducer/interface/TrackerDetIdSelector.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

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

Definition at line 3 of file TrackerDetIdSelector.cc.

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

Definition at line 6 of file TrackerDetIdSelector.cc.

Function Documentation

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

Definition at line 129 of file TrackerDetIdSelector.cc.

References BinaryOP::NOT_EQUAL.

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

Definition at line 135 of file TrackerDetIdSelector.cc.

References BinaryOP::AND.

136 {
137  ExpressionAST ast = BinaryOP(BinaryOP::OP::AND, lhs, rhs);
138  return ast;
139 }
ExpressionAST operator< ( ExpressionAST const &  lhs,
ExpressionAST const &  rhs 
)

Definition at line 123 of file TrackerDetIdSelector.cc.

References BinaryOP::LESS.

124 {
125  ExpressionAST ast = BinaryOP(::BinaryOP::OP::LESS, lhs, rhs);
126  return ast;
127 }
ExpressionAST operator<= ( ExpressionAST const &  lhs,
ExpressionAST const &  rhs 
)

Definition at line 117 of file TrackerDetIdSelector.cc.

References BinaryOP::LESS_EQUAL.

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

Definition at line 111 of file TrackerDetIdSelector.cc.

References BinaryOP::EQUAL.

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

Definition at line 99 of file TrackerDetIdSelector.cc.

References BinaryOP::GREATER.

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

Definition at line 141 of file TrackerDetIdSelector.cc.

References BinaryOP::OR.

142 {
143  ExpressionAST ast = BinaryOP(BinaryOP::OP::OR, lhs, rhs);
144  return ast;
145 }