Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
SimTracker
Common
interface
SimHitInfoForLinks.h
Go to the documentation of this file.
1
#ifndef SimTracker_Common_SimHitInfoForLinks
2
#define SimTracker_Common_SimHitInfoForLinks
3
4
#include <vector>
5
#include "
SimDataFormats/TrackingHit/interface/PSimHit.h
"
6
7
// A stripped down version of PSimHit used to save memory.
8
// Contains only the information needed to be make DigiSimLinks.
9
10
struct
SimHitInfoForLinks
{
11
explicit
SimHitInfoForLinks
(
PSimHit
const
* hitp) :
eventId_
(hitp->eventId()),
trackIds_
(1, hitp->trackId()) {
12
}
13
EncodedEventId
eventId_
;
14
std::vector<unsigned int>
trackIds_
;
15
};
16
#endif
SimHitInfoForLinks::SimHitInfoForLinks
SimHitInfoForLinks(PSimHit const *hitp)
Definition:
SimHitInfoForLinks.h:11
SimHitInfoForLinks::trackIds_
std::vector< unsigned int > trackIds_
Definition:
SimHitInfoForLinks.h:14
SimHitInfoForLinks::eventId_
EncodedEventId eventId_
Definition:
SimHitInfoForLinks.h:13
PSimHit.h
SimHitInfoForLinks
Definition:
SimHitInfoForLinks.h:10
EncodedEventId
Definition:
EncodedEventId.h:11
PSimHit
Definition:
PSimHit.h:15
Generated for CMSSW Reference Manual by
1.8.5