Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Fun4All_FillChargesMap_300evts_MDC2.C File Reference
#include <fun4all/Fun4AllServer.h>
#include <fun4all/Fun4AllInputManager.h>
#include <fun4all/Fun4AllDstInputManager.h>
#include <frog/FROG.h>
#include <fillSpaceChargeMaps.h>
#include <stdio.h>
#include <string>
+ Include dependency graph for Fun4All_FillChargesMap_300evts_MDC2.C:

Go to the source code of this file.

Macros

#define FUN4ALL_FILLCHARGESMAP_300EVTS_MDC2_C
 

Functions

std::vector< int > readBeamXings ()
 
int closest (std::vector< int > const &vec, int value)
 
void Fun4All_FillChargesMap_300evts_MDC2 (const int nEvents=10, const int eventsInFileStart=0, const int eventsBeamCrossing=1508071, const string &fname="/sphenix/sim/sim01/sphnxpro/Micromegas/2/G4Hits_sHijing_0-12fm_000000_001000.root", const string &foutputname="/sphenix/user/shulga/Work/IBF/DistortionMap/Files/slim_G4Hits_sHijing_0-12fm_000000_001000.root")
 

Macro Definition Documentation

#define FUN4ALL_FILLCHARGESMAP_300EVTS_MDC2_C

Definition at line 2 of file Fun4All_FillChargesMap_300evts_MDC2.C.

View newest version in sPHENIX GitHub at line 2 of file Fun4All_FillChargesMap_300evts_MDC2.C

Function Documentation

int closest ( std::vector< int > const &  vec,
int  value 
)

Definition at line 53 of file Fun4All_FillChargesMap_300evts_MDC2.C.

View newest version in sPHENIX GitHub at line 53 of file Fun4All_FillChargesMap_300evts_MDC2.C

References it, and value.

void Fun4All_FillChargesMap_300evts_MDC2 ( const int  nEvents = 10,
const int  eventsInFileStart = 0,
const int  eventsBeamCrossing = 1508071,
const string &  fname = "/sphenix/sim/sim01/sphnxpro/Micromegas/2/G4Hits_sHijing_0-12fm_000000_001000.root",
const string &  foutputname = "/sphenix/user/shulga/Work/IBF/DistortionMap/Files/slim_G4Hits_sHijing_0-12fm_000000_001000.root" 
)
std::vector<int> readBeamXings ( )