CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
TrackingNtuple::DetIdPhase2OTOnly Class Reference

Public Member Functions

void book (const std::string &prefix, TTree *tree)
 
void clear ()
 
 DetIdPhase2OTOnly ()
 
void push_back (const TrackerTopology &tTopo, const DetId &id)
 

Private Attributes

std::vector< unsigned short > isLower
 
std::vector< unsigned short > isStack
 
std::vector< unsigned short > isUpper
 

Detailed Description

Definition at line 925 of file TrackingNtuple.cc.

Constructor & Destructor Documentation

TrackingNtuple::DetIdPhase2OTOnly::DetIdPhase2OTOnly ( )
inline

Definition at line 927 of file TrackingNtuple.cc.

927 {}

Member Function Documentation

void TrackingNtuple::DetIdPhase2OTOnly::book ( const std::string &  prefix,
TTree *  tree 
)
inline

Definition at line 929 of file TrackingNtuple.cc.

References BOOK.

929  {
930  BOOK(isLower);
931  BOOK(isUpper);
932  BOOK(isStack);
933  }
#define BOOK(name)
std::vector< unsigned short > isUpper
std::vector< unsigned short > isStack
std::vector< unsigned short > isLower
void TrackingNtuple::DetIdPhase2OTOnly::clear ( void  )
inline

Definition at line 941 of file TrackingNtuple.cc.

941  {
942  isLower.clear();
943  isUpper.clear();
944  isStack.clear();
945  }
std::vector< unsigned short > isUpper
std::vector< unsigned short > isStack
std::vector< unsigned short > isLower
void TrackingNtuple::DetIdPhase2OTOnly::push_back ( const TrackerTopology tTopo,
const DetId id 
)
inline

Definition at line 935 of file TrackingNtuple.cc.

References TrackerTopology::isLower(), TrackerTopology::isUpper(), and TrackerTopology::stack().

935  {
936  isLower.push_back(tTopo.isLower(id));
937  isUpper.push_back(tTopo.isUpper(id));
938  isStack.push_back(tTopo.stack(id) == 0); // equivalent to *IsDoubleSide() but without the hardcoded layer+ring requirements
939  }
bool isLower(const DetId &id) const
std::vector< unsigned short > isUpper
bool isUpper(const DetId &id) const
std::vector< unsigned short > isStack
uint32_t stack(const DetId &id) const
std::vector< unsigned short > isLower

Member Data Documentation

std::vector<unsigned short> TrackingNtuple::DetIdPhase2OTOnly::isLower
private

Definition at line 948 of file TrackingNtuple.cc.

std::vector<unsigned short> TrackingNtuple::DetIdPhase2OTOnly::isStack
private

Definition at line 950 of file TrackingNtuple.cc.

std::vector<unsigned short> TrackingNtuple::DetIdPhase2OTOnly::isUpper
private

Definition at line 949 of file TrackingNtuple.cc.