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

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

Definition at line 5 of file TrackerDetIdSelector.cc.

#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

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

Definition at line 102 of file TrackerDetIdSelector.cc.

References BinaryOP::NOT_EQUAL.

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

Definition at line 107 of file TrackerDetIdSelector.cc.

References BinaryOP::AND.

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

Definition at line 97 of file TrackerDetIdSelector.cc.

References BinaryOP::LESS.

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

Definition at line 92 of file TrackerDetIdSelector.cc.

References BinaryOP::LESS_EQUAL.

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

Definition at line 87 of file TrackerDetIdSelector.cc.

References BinaryOP::EQUAL.

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

Definition at line 77 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 112 of file TrackerDetIdSelector.cc.

References BinaryOP::OR.

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