|
ATLAS Offline Software
|
Go to the documentation of this file.
25 fEvt++; lEvt = fEvt; lEvt++;
26 for(; lEvt < maxIterator; lEvt++){
50 for(; fEvt < maxIterator; fEvt++){
54 for(; lEvt < maxIterator; lEvt++){
61 if (lEvt>maxIterator) lEvt=maxIterator;
62 if (fEvt>maxIterator) fEvt=maxIterator;
71 firstIndex = fEvt - evts->
begin();
72 lastIndex = lEvt - evts->
begin();
76 if(evtIndex == 0 )
return SIGNAL;
83 while( itEvt != lEvt){
84 if(
size_t(itEvt - fEvt) == evtIndex ){
return type ;}
94 evtToPUType.resize(evts->
size());
98 evtToPUType[0] =
SIGNAL; ++fEvt;
102 for(; fEvt != lEvt; ++fEvt){
104 evtToPUType[
c] =
type;
Const iterator class for DataVector/DataList.
int signal_process_id(const GenEvent &e)
PileuType_t
define some Pile-up classification Important : this classification is copied in McParticleAlgs/python...
This defines the McEventCollection, which is really just an ObjectVector of McEvent objects.
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
static void fillPileUpType(const McEventCollection *evts, std::vector< size_t > &evtToPUType)
Fill evtToPUType so that entry i is the pile-up type of GenEvent number i inside the McEventCollectio...
static PileuType_t pileUpType(const McEventCollection *evts, size_t evtIndex)
Return the type of pile-up event of the GenEvent number evtIndex in the McEventCollection.
size_type size() const noexcept
Returns the number of elements in the collection.
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.
static void findEventIterators(PileuType_t putype, McEventCollection::const_iterator &fEvt, McEventCollection::const_iterator &lEvt)
Find interval [fEvt,lEvt] containing all GenEvents of type putype from the McEventCollection.