ATLAS Offline Software
Loading...
Searching...
No Matches
ForwardDetectors
FPTracker
FPTracker
printCont.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef FPTRACKER_PRINTCONTAINER_H
6
#define FPTRACKER_PRINTCONTAINER_H
7
#include <iostream>
8
namespace
FPTracker
{
9
template
<
class
Container>
10
void
printCont
(
const
Container
& arr,
int
perline,
int
nele){
11
int
linecount = 0;
12
for
(
int
i = 0; i<nele; ++i){
13
std::cout<<
" "
<<arr[i];
14
if
(++linecount == perline){
15
linecount = 0;
16
std::cout<<
'\n'
;
17
}
18
}
19
std::cout<<
'\n'
;
20
}
21
}
22
#endif
Container
storage of the time histories of all the cells
FPTracker
Definition
FPTracker/FPTracker/Beamline.h:12
FPTracker::printCont
void printCont(const Container &arr, int perline, int nele)
Definition
printCont.h:10
Generated on
for ATLAS Offline Software by
1.14.0