CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
OuterTrackerMonitorTrackingParticles::TpStruct Struct Reference

Public Member Functions

int Nlayers ()
 

Public Attributes

std::vector< bool > layer
 
int TpId
 

Detailed Description

Definition at line 130 of file OuterTrackerMonitorTrackingParticles.h.

Member Function Documentation

int OuterTrackerMonitorTrackingParticles::TpStruct::Nlayers ( )
inline

Definition at line 133 of file OuterTrackerMonitorTrackingParticles.h.

References checklumidiff::l, and LayerTriplets::layers().

133  { //Counts how many layers are set to "true" for their hit status
134  int layers=0;
135  for(unsigned l=0; l<layer.size(); ++l) if(layer[l]) ++layers;
136  return layers;
137  }
std::vector< LayerSetAndLayers > layers(const SeedingLayerSetsHits &sets)
Definition: LayerTriplets.cc:4

Member Data Documentation

std::vector<bool> OuterTrackerMonitorTrackingParticles::TpStruct::layer
int OuterTrackerMonitorTrackingParticles::TpStruct::TpId