|
ATLAS Offline Software
|
Go to the documentation of this file.
17 for(
int iIndexIn=0; iIndexIn<
NIndexIn; iIndexIn++) {
42 if(
ip<0)
return false;
44 const unsigned int input_size =
input.size();
46 const unsigned int database_ip_size =
m_database[
ip].size();
47 for(
unsigned int i=3;
i<database_ip_size;
i++){
54 if(database_ip_size < input_size){
55 for(
unsigned int i=database_ip_size;
i<input_size;
i++){
66 for(
unsigned int i=0;
i<
size;
i++){
79 if(!indexIn)
return -1;
99 for(
int iIndexIn=0; iIndexIn<
NIndexIn; iIndexIn++) {
106 for(
int iIndexIn=0; iIndexIn<
NIndexIn; iIndexIn++) {
115 for(
int iIndexIn=0; iIndexIn<
NIndexIn; iIndexIn++) {
120 while(getline(
file,buf)){
124 while(getline(
file,buf)){
125 if(buf.substr(0,1)==
"E"||buf.substr(0,1)==
"F")
break;
126 std::istringstream
line(buf);
127 std::vector<int>
entry;
128 for(
int i=0;
i<6;
i++){
131 entry.push_back(temp);
143 for(
int i=0;
i<3;
i++){
147 entry.push_back(temp);
159 for(
int iIndexIn=0; iIndexIn<
NIndexIn; iIndexIn++) {
162 for(
int iIndexDBIn=0; iIndexDBIn<
m_NIndexDBIn; iIndexDBIn++) {
169 for(
int iIndexIn=0; iIndexIn<
NIndexIn; iIndexIn++) {
179 for(
int iIndexIn=1; iIndexIn<
NIndexIn; iIndexIn++) {
virtual ~TGCDatabaseInPP(void)
Destructor.
virtual int find(const std::vector< int > &) const override
virtual bool update(const std::vector< int > &) override
int m_minIndexIn[NIndexIn]
virtual void readDB(void) override
virtual void getminIndexIn(int *tmpminIndexIn) const
Get the minimum values of indexIn with NIndexIn dimensions.
virtual void getindexDBVectorIn(std::vector< int > &tmpindexDBIn) const
Get the IndexDBIn table.
virtual void getNIndexDBIn(int &tmpNIndexDBIn) const
Get the size of the IndexDBIn table.
std::vector< int > m_indexDBIn
virtual void makeIndexDBIn(void)
Make the IndexDBIn table.
virtual int convertIndexDBIn(int *indexIn) const
Get the internal number, which is between 0 and NIndexDBIn-1.
virtual void getmaxIndexIn(int *tmpmaxIndexIn) const
Get the maximum values of indexIn with NIndexIn dimensions.
std::vector< std::vector< int > > m_database
virtual int getIndexDBIn(int *indexIn) const override
Get IndexDBIn (position in the databse between 0 and database.size()-1) from indexIn which is NIndexI...
int m_maxIndexIn[NIndexIn]